getopt (1) example scripts?

2003-12-19 Thread stan
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?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: getopt (1) example scripts?

2003-12-19 Thread David Z Maze
stan [EMAIL PROTECTED] 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 [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
Theoretical politics is interesting.  Politicking should be illegal.
-- Abra Mitchell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]