getopt question

Marc Lesure system at asuvax.asu.edu
Sat Oct 14 05:55:15 AEST 1989


The man page of 'getopt' shows that a ':' is used to indicate that the
option has an argument following it.  My question is, does a version
of 'getopt' exist that allows an option to have an optional argument that
may or may not follow it.

-----------------------------------------------------------------------
		    Marc "Lost in Limbo" Lesure
"Between the world of men and make-believe, I can be found..."
"False faces and meaningless chases, I travel alone..."
"And where do you go when you come to the end of your dream?"

UUCP:       ...!ncar!noao!asuvax!lesure  
Internet:   lesure at asuvax.eas.asu.edu



More information about the Comp.unix.questions mailing list