🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #308

Re: parseargs vs. getopt

#308
From: Leslie Giles
Date: Wed, 27 Jun 1990 15:32
19 lines
1323 bytes
From:  lezz@codex.uucp (Leslie Giles)

darcy@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
Technical Details
Message-ID: <742@longway.TIC.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!longway!std-unix
References: <378@usenix.ORG> <728@longway.TIC.COM> <729@longway.TIC.COM> <733@longway.TIC.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!longway!std-unix
From: lezz@codex.uucp (Leslie Giles)
Newsgroups: comp.std.unix
Subject: Re: parseargs vs. getopt
Message-ID: <742@longway.TIC.COM>
Date: 27 Jun 90 15:32:10 GMT
References: <378@usenix.ORG> <728@longway.TIC.COM> <729@longway.TIC.COM> <733@longway.TIC.COM>
Sender: std-unix@longway.TIC.COM
Reply-To: std-unix@uunet.uu.net
Organization: Codex Corp., Canton MA
Lines: 19
Approved: jsq@longway.tic.com (Moderator, John S. Quarterman)