Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social  ·  activity timestamp 4 days ago

We end the year with 6 more #curl command line options than we had last new year's eve; now at 273 in total.

7
  • Copy link
  • Flag this post
  • Block
Andreas Fink
Andreas Fink
@afink@mastodon.sl replied  ·  activity timestamp 4 days ago

@bagder how many books is the man page explaining 273 options?!?

  • Copy link
  • Flag this comment
  • Block
Jaakko Kangasharju
Jaakko Kangasharju
@asharov@hachyderm.io replied  ·  activity timestamp 4 days ago

@bagder Can we get a graph of the number of options?

  • Copy link
  • Flag this comment
  • Block
Lars Wirzenius
Lars Wirzenius
@liw@toot.liw.fi replied  ·  activity timestamp 4 days ago

@bagder How many CVEs have there been because the number of curl options no longer fits into an unsigned 8-bit variable?

  • Copy link
  • Flag this comment
  • Block
jorol
jorol
@jorol@openbiblio.social replied  ·  activity timestamp 4 days ago

@bagder xkcd 1692: Man Page

This xkcd comic shows a Unix manual page, i.e. a man page (hence the title), for a fictional program called "blerp". Unix man pages are meant to provide a brief reference on the usage of a command, not extended explanations with tutorials as may be found in many hardcopy product manuals. Unfortunately, some Unix commands tend to be very bloated and include lots of optional behavior that is often irrelevant to the original intent of the command and can be done much more easily using shell features like piping and redirection, and thus the manpage grows to explain all of the features. This example exaggerates the obscurity and terseness found in many man pages, making fun of the typical style of the genre.
This xkcd comic shows a Unix manual page, i.e. a man page (hence the title), for a fictional program called "blerp". Unix man pages are meant to provide a brief reference on the usage of a command, not extended explanations with tutorials as may be found in many hardcopy product manuals. Unfortunately, some Unix commands tend to be very bloated and include lots of optional behavior that is often irrelevant to the original intent of the command and can be done much more easily using shell features like piping and redirection, and thus the manpage grows to explain all of the features. This example exaggerates the obscurity and terseness found in many man pages, making fun of the typical style of the genre.
This xkcd comic shows a Unix manual page, i.e. a man page (hence the title), for a fictional program called "blerp". Unix man pages are meant to provide a brief reference on the usage of a command, not extended explanations with tutorials as may be found in many hardcopy product manuals. Unfortunately, some Unix commands tend to be very bloated and include lots of optional behavior that is often irrelevant to the original intent of the command and can be done much more easily using shell features like piping and redirection, and thus the manpage grows to explain all of the features. This example exaggerates the obscurity and terseness found in many man pages, making fun of the typical style of the genre.
  • Copy link
  • Flag this comment
  • Block
RealGene ☣️
RealGene ☣️
@RealGene@hachyderm.io replied  ·  activity timestamp 4 days ago

@bagder
Let me know when you get to 613!

https://en.wikipedia.org/wiki/613_commandments

613 commandments - Wikipedia

  • Copy link
  • Flag this comment
  • Block
advokatt
advokatt
@km@mastodon.babb.no replied  ·  activity timestamp 4 days ago

@bagder I don't even dare to think of all the various possible STATES all those options might create

1
  • Copy link
  • Flag this comment
  • Block
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social replied  ·  activity timestamp 4 days ago

@km yeah, it's an insane combination explosion that's a testing challenge and of course an explanation for continued bugfixes...

1
  • Copy link
  • Flag this comment
  • Block
advokatt
advokatt
@km@mastodon.babb.no replied  ·  activity timestamp 4 days ago

@bagder actually I'd like an option of mine, too, but I can't dare to ask about one 😅

--max-filesize will not even start the transfer if it knows that file size will be beyond the limit. if file size is not known, the transfer will start, but abort once limit is reached. what would be somewhat iseful is an option to allow fetching until limit also if size is in advance known to be larger than limit.

  • Copy link
  • Flag this comment
  • Block
Wouter Verhelst
Wouter Verhelst
@wouter@pleroma.debian.social replied  ·  activity timestamp 4 days ago
@bagder
OOI, how many command line options to curl have ever been removed? If you keep that statistic, of course.
  • Copy link
  • Flag this comment
  • Block

bonfire.mavnn.eu

News and community around mavnn.eu projects.

bonfire.mavnn.eu: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1-alpha.27 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Public Groups
  • Code of Conduct