>>>>> "M" == Mark Slagell <ms / iastate.edu> writes: M> (1) while (line=gets) { ... } M> (2) everything = readlines M> everything.each { |line| ... } M> So this is really an implementation question. I'm trying to figure out M> if ARGF.each{|line...} behaves like (1) or like (2). like (1) Guy Decoux