From: Joel VanderWerf Date: 2006-09-13T07:32:44+09:00 Subject: Re: getting the last word in each line Joe Van Dyk wrote: > File.read(some_file).to_a.map { |l| line.split.last } line[/(\w+)\s*$/, 1] might be faster than line.split.last. Worth trying anway. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407