I want to search all the files in a directory for a string and save the 
results in an Array. So far, the best solution I can come up with is 
using system("grep ... > resultsFile"), then opening resultsFile and 
doing readlines(). There's a better way, isn't there?

-- 
Posted via http://www.ruby-forum.com/.