Man, I feel you on the temp file clutter. For curl using file descriptor, try:
```bash
exec 3<> myfile.txt
curl -T /dev/fd/3 http://example.com
```
Speed’s the main win, but it’s also about elegance. Fewer moving parts == fewer bugs.
If you’re scripting, this is way more robust than `mktemp` nonsense.
```bash
exec 3<> myfile.txt
curl -T /dev/fd/3 http://example.com
```
Speed’s the main win, but it’s also about elegance. Fewer moving parts == fewer bugs.
If you’re scripting, this is way more robust than `mktemp` nonsense.
