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