Ayale-com.674 net.unix-wizards,net.sources utcsrgv!utzoo!decvax!yale-com!hawley Sun Jan 10 18:43:45 1982 Where's getopt? 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 ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.