command line options

Daniel R. Levy levy at ttrdc.UUCP
Wed Apr 13 11:48:27 AEST 1988


In article <7663 at brl-smoke.ARPA>, gwyn at brl-smoke.ARPA (Doug Gwyn ) writes:
# In article <2569 at ttrdc.UUCP> levy at ttrdc.UUCP (Daniel R. Levy) writes:
# >All youse guys are missing the REALLY illegal, non-wildcard getopt option.
# >It is ":".
# 
# Actually I didn't miss it.  The same yoyo implementor who is likely to
# make = a valid option is also likely to pass getopts a list like ":abc:d:ef".

$ getopt :abc:d:ef -: foo
getopt: illegal option -- :

':' is special-cased in getopt.c.  Look at the code.
-- 
|------------Dan Levy------------|  Path: ..!{akgua,homxb,ihnp4,ltuxa,mvuxa,
|         an Engihacker @        |  	<most AT&T machines>}!ttrdc!ttrda!levy
|     AT&T Data Systems Group    |  Disclaimer?  Huh?  What disclaimer???
|--------Skokie, Illinois--------|



More information about the Comp.unix.wizards mailing list