getopt(1)

getopt(1)

done

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).

g

HP-UX Release 11i: December 2000

− 2 −

Section 1331