From: Gavin Sinclair Date: 2003-02-19T18:43:00+09:00 Subject: Re: Ruby scripts for daily unix system administration 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