HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)

g
getopt(1) getopt(1)
This code accepts any of the following as equivalent:
cmd -aoarg file file
cmd -a -o arg file file
cmd -oarg -a file file
cmd -a -oarg -- file file
WARNINGS
getopt option arguments must not be null strings nor contain embedded blanks.
SEE ALSO
sh(1), getopt(3C).
Section 1336 Hewlett-Packard Company 2 HP-UX 11i Version 2: August 2003