egrep (Rake::FileList)

          # File lib/rake.rb, line 1229
    1229:     def egrep(pattern)
    1230:       each do |fn|
    1231:         open(fn) do |inf|
    1232:           count = 0
    1233:           inf.each do |line|
    1234:             count += 1
    1235:             if pattern.match(line)
    1236:               if block_given?
    1237:                 yield fn, count, line
    1238:               else
    1239:                 puts "#{fn}:#{count}:#{line}"
    1240:               end
    1241:             end
    1242:           end
    1243:         end
    1244:       end
    1245:     end