Using Rake as a File-Finding Library
FileList["**/*.rb"].egrep(Regexp.new(ARGV.first))
Jim Weirich has an interesting blog post about using Rake's 'FileList' class to find files on your hard drive. I've already started to use the example he gives here.. good find!