3 ms·
Is this not part of POSIX? I see folks churning about Go and the Bell Labs people, but these styles were exactly what (in my mind) POSIX was partially in respon
by kodah 6y ago
Is this not part of POSIX? I see folks churning about Go and the Bell Labs people, but these styles were exactly what (in my mind) POSIX was partially in response to.
- cat199 6y agoNo - 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.