3 ms·
No - https://pubs.opengroup.org/onlinepubs/009696799/functions/getopt.html https://pubs.opengroup.org/onlinepubs/009696799/functions/ge... but no 'getopt_long
by cat199 6y ago
No -
https://pubs.opengroup.org/onlinepubs/009696799/functions/getopt.html https://pubs.opengroup.org/onlinepubs/009696799/functions/ge...
but no 'getopt_long' (AFAICT).
OpenBSD, just as one example of a true unix-derived system, added it's own getopt_long only in 3.3 release which was 2003, ~17 years after the 1st posix in 1988. This article mentions getopt_long originating ~1990, after 1st posix standard.
http://man.openbsd.org/getopt_long http://man.openbsd.org/getopt_long
- kodah 6y agoInteresting. I'd love to long and short flags be standardized. Their variable implementations are highly confusing for users.