Email list hosting service & mailing list manager

Re: Unix command options Bengt Kleberg 13 Mar 2001 10:54 UTC


The Unix standard (Posix/Single Unix Spec) specifies getopt() for parsing
command options. This function only handles single character
command options. As an example: '-call' will be interpreted as option
'c' with argument 'all'.

Gnu getopt() allows multicharacter options, and starts these with '--'.