# File lib/rake.rb, line 1433
1433:     def sub(pat, rep)
1434:       inject(FileList.new) { |res, fn| res << fn.sub(pat,rep) }
1435:     end