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