by Annatar · 6y ago · 0 comments
Just to set the record straight though, while the options in UNIX programs are very different from program to program, good UNIX programmers know to use getopt(3C) libc function and not invent their own custom parser. All programs which use getopt(3C) have a uniform, consistent option parser and command line behavior. https://illumos.org/man/3c/getopt
> good UNIX programmers know to use getopt(3C) libc function
Well, when writing in C. People don't really use this from other languages.
We're also primarily a UNIX shop at work, so that might be part of it.