From: Nathan Olberding Date: 2006-03-11T07:32:28+09:00 Subject: An Array of grep Results? 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/.