From: "Cyril J." Date: 2011-09-10T05:38:49+09:00 Subject: Large file reading Hello all, What is the most efficient way of reading two large files at the same time without using too much memory? Also, I need to compare strings in the header lines throughout one file with the other file to weed out what is different. Just don't know how to start reading the files at the same time. Any ideas on how to go about starting this? I was thinking a while loop but wasn't really sure on how to implement it. Small example would help. Thanks in advance. - C -- Posted via http://www.ruby-forum.com/.