From: Chris Daves Date: 2007-12-13T10:59:05+09:00 Subject: read in file Hi, I've created a simple program which will read in a file. # class Reference references = 'C:\Documents and Settings\Chris Davies\Desktop\References.rb' f = File.open(references, 'r') file_data = f.read f.close puts file_data end # but i want to take this file data and interpret each line of data and the put each line into a new file line by line. cheers -- Posted via http://www.ruby-forum.com/.