From: dblack@... Date: 2006-01-05T04:25:54+09:00 Subject: Re: Recommended command line options for new rubyists Hi -- On Thu, 5 Jan 2006, John Maclean wrote: > Hi guys, > > There are loooads of ruby docs out there. There are also some good > reference guides under /usr/share/doc/ruby-1.8.3, > /usr/share/doc/ruby-docs-1.8.3 and /usr/share/doc/ruby-libs-1.8.3. > What would the more experienced of you recommend for command line > options? So far I've been using > ruby -c foo.rb > ruby -W foo.rb > as they are the simplest :) I've not really used irb that much as I > haven't seen any advantage in using it. The ones I use the most are: ruby -cw ruby -v[e] ruby -e ruby -p[i.bak][ -e] ruby -n[i.bak][ -e] David -- David A. Black dblack@wobblini.net "Ruby for Rails", from Manning Publications, coming April 2006! http://www.manning.com/books/black