Path: 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) 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