From: Jim Weirich Date: 2006-02-08T01:18:11+09:00 Subject: Re: Grep via Ruby Edwin van Leeuwen wrote: > That being said it is ofcourse always fun to write your own script for > this :) Heh, I wrote something similar the other day to search for stuff in the most recent rails code base installed on a box. Here is my version of grep.rb... require 'rake' FileList[ARGV[1..-1]].egrep(Regexp.new(ARGV[0], 'i')) -- Posted via http://www.ruby-forum.com/.