parseargs vs. getopt
Leslie Giles
lezz at codex.uucp
Thu Jun 28 01:32:10 AEST 1990
From: lezz at codex.uucp (Leslie Giles)
darcy at druid.uucp (D'Arcy J.M. Cain) writes:
>You might like my getarg function. I designed it as a replacement for
> ... You can
>also initialise the argument list more than once supporting things such
>as environment default command lines, arguments from files etc mixed
>with arguments from the command line. I just posted it recently to
>alt.sources and I'm interested in getting some feedback on it.
It is also possible to restart getopt() by setting various variables.
I did this in some code to support defaults, as mentioned above. If anybody
wants to know how to do this then you can mail me (I don't have the code in
front of me at the moment - it'd take time to find it) at...
codex!lezz
Volume-Number: Volume 20, Number 54
More information about the Comp.std.unix
mailing list