From: Martin DeMello Date: 2003-08-23T20:40:13+09:00 Subject: Re: Why did you switch from Python to Ruby? Doug Kearns wrote: > On Wed, Aug 20, 2003 at 02:04:13AM +0900, Sean O'Dell wrote: > > > >> My point here is, I have yet to hear of a single person who left Ruby >> for another scripting language. > > I came across someone today on the JudoScript list doing just that. If > you're interested have a look at: > > http://groups.yahoo.com/group/judoscript/message/295 > http://www.judoscript.com/ lines = words = chars = 0 IO.foreach(ARGV[0]) {|line| lines += 1 words += line.split.length chars += line.length } puts "#{lines} #{words} #{chars}" Just saying :) martin