Thanks Gavin. If you see any good simple example of using GetoptLong, please
post them for us. Thanks again.

"Gavin Sinclair" <gsinclair / soyabean.com.au> wrote in message
news:74627672.20030219204249 / soyabean.com.au...
> On Wednesday, February 19, 2003, 6:30:30 PM, Useko wrote:
>
> > Thank you, but its a bit advance for me. I'd like to start on how to
parse
> > arguments from a shell scripts such as the following:
>
> > usage:  mktmpswap -c c0 -b b0 -f f0
>
> Parsing arguments is best done with GetoptLong.  See pickaxe.
>
> optparse.rb (in the current source tree) is reputed to have some
> benefits, but I don't know of any documentation, apart from perhaps
> in the source code.
>
> Gavin
>
>