Friendica
daniel:// stenberg://
daniel:// stenberg://

daniel:// stenberg://

bagder@mastodon.social

daniel:// stenberg://

bagder@mastodon.social
I write curl. I don't know anything.
ActivityPub
2024-11-17 21:05:25 2024-11-17 16:05:36 2024-11-17 16:05:18 6047602

daniel:// stenberg://
daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

9 months ago • •

daniel:// stenberg://

9 months ago • •


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

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


Why curl defaults to stdout

(Recap: I founded the curl project, I am still the lead developer and maintainer) When asking curl to get a URL it'll send the output to stdout by default.
daniel.haxx.se
#curl
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Peter Krefting
mastodon - Link to source

Peter Krefting

in reply to daniel:// stenberg:// • 9 months ago • •
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.
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Christen Lofland
mastodon - Link to source

Christen Lofland

in reply to daniel:// stenberg:// • 9 months ago • •
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. 😅
  •  Languages
  •  Search Text
  •  Share via ...
in reply to Christen Lofland

daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

in reply to Christen Lofland • 9 months ago • •
@EkpyroticFrood we have wcurl now for that! 😀
@Christen Lofland
  •  Languages
  •  Search Text
  •  Share via ...
⇧