>>   
> output = []
> File.open( "array.txt" ) { |file| file.readlines { |curr_line|  output
> << curr_line.split( /\t/ )[1] } }
> 
> # just to show the result
> require 'pp'
> pp output

I need more information about file reading. Which chapter in the 
Programming Ruby talks about this stuff?

Thanks,

Li

-- 
Posted via http://www.ruby-forum.com/.