From: Gavin Sinclair Date: 2003-02-19T23:54:22+09:00 Subject: Re: Ruby scripts for daily unix system administration See pickaxe! On Thursday, February 20, 2003, 1:30:59 AM, Useko wrote: > Thanks Gavin. If you see any good simple example of using GetoptLong, please > post them for us. Thanks again. > "Gavin Sinclair" 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 >> >>