On Sat, Sep 20, 2003 at 06:00:21AM +0900, Xavier wrote:
> Thought you'd like to know about this article
> This links to the printable version, much easier to read.
> http://linux.oreillynet.com/lpt/a/4159
> 
> Enjoy.

A pretty good article, though:
  1. It would be nice if it mentioned optparse, which is a little
     cleaner than getoptlong for what the author is doing.
  2. Using "while line = gets do" is just as clean as "while gets", but
     doesn't require the use of $_.  I suspect the author came from a
     perl background.
  3. I wish he'd mentioned the option of using #!/usr/bin/env ruby
     instead of #!/usr/local/bin/ruby.

Paul