On Mon, 2006-01-09 at 12:38, Bram Mertens wrote:
> Hi
>
> I've been looking into using getopts for processing options passed to
> a script. However I would like to be able to use long option-names.
> I don't see how this can be done with getopts. For C there appears to
> be a getopt_long is there anything similar for bash?
Interesting question. After a little creative Googling, I came across
this:
http://www.linuxcommand.org/man_pages/getopt1.html
(which also demonstrates my need to correct the character encoding of
the SuperMan pages ;-)
--
||||| William Shotts, Jr. (bshotts AT panix DOT com)
||||| Be a Linux Commander! Follow me to http://linuxcommand.org
||||| See My Photography! http://www.williamshottsphotography.com
|