Skip to main content


Ten years ago I explained why #curl defaults to stdout:

daniel.haxx.se/blog/2014/11/17…

#curl
in reply to daniel:// stenberg://

This makes curl is perfect for checking checksums (curl ... | sha256sum -) and checking API results and I always use curl for that. This also makes curl harder to use for downloading files, so I always use wget for that. I's good to have a choice, and to have different tools available for different situations.
in reply to daniel:// stenberg://

I always feel embarrassed, alone at home in my office with nobody watching me of course, when I run curl, see it dump my file to stdout and then use wget instead because I cannot immediately remember how to properly make a file with curl, even though I could spend 30 seconds looking it up. 😅