> (c) > File.foreach('file', 'r'){|l| print l} Oops! Important bug here: the 'r' is taken to be the line seperator, which introduced some fun bugs into my program until I printed "#{l}\n" to discover that it had an odd idea of a line =) Thank you though, this was most helpful.