[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getopt (1) example scripts?



stan <stanb@panix.com> writes:

> I see that my Debian machine has a getopt utility installed to use in
> parseing options to shell scripts. The man page mentions example scripts,
> but I cna't seem to find them on my machine.
>
> I also can't figure out the upstream source of this program, else I would
> just grab the sources, and unpack to see the scripts.
>
> Can anyone tell me where the source of this module is?

{29} dmaze% which getopt
/usr/bin/getopt
{30} dmaze% dpkg -S `which getopt`
util-linux: /usr/bin/getopt

Separately, bash(1) documents a getopts (plural) builtin which looks
to do something similar.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: