Where's getopt?
utzoo!decvax!yale-com!hawley
utzoo!decvax!yale-com!hawley
Sun Jan 10 18:43:45 AEST 1982
Another note on "getopt" (after Brian Redman's letter):
There's a getopt (1) for use by the shell,
and a getopt() (3), for use by C programs.
These exist in some versions (32v ?) of BTL Unix.
Both provide a fine way to process command line arguments.
The sooner people start using a more standard method
for processing argument lists, the better (I have seen
more kludgy argument processing in Unix system code...).
I wrote my own getopt(), but rather than distributing it
locally, I would prefer to have the "approved" version,
for obvious reasons.
So please, if it wouldn't violate any licensing agreements,
I'd like to see the code for getopt (1 and 3) distributed on the net.
Hey, the software crisis is upon us!
Your friend,
Michael Hawley
More information about the Comp.unix.wizards
mailing list