From: ChrisH Date: 2007-01-31T02:35:07+09:00 Subject: Re: Correct way to process a file in Ruby? Recently coded something similar. I just slurp the file into an array (File.readlines) and then split the array into separate arrays of each record type. cheers Chris