Contents of the README file

This is a collection of getopt(3) programs and related stuff.

For those of you who don't know what getopt is, it is a routine thatis in very common usage on many Unix systems that provides very goodgeneral coverage for command-line-argument processing. There are a fewthings it doesn't do (but not many), so it will probably serve (nearly)all your needs. It is useful in two regards: 1) for porting Unixprograms to other environments (especially MS-DOS) without necessitatingthe re-inventing of the wheel, and 2) for providing a standard interfaceto the command-line.

The file getopt.att is the PUBLIC DOMAIN getopt.c as distributed byAT&T (apparently in 1987). The file getoptx.c is the same module withsome enhancements by Bill Davidsen. The files getopt.c and getopt.manare the nroff source and the human-readable man pages for getoptx. Unfortunately, I do not have a public domain man page for the originalAT&T getopt. However, if one can read between the lines a bit one cancertainly figure out what the diffrerences are between the two versions.The other files are, I think, self-explanatory.

As far as I can tell from reading this stuff it is entirely in the public domain, so enjoy it!