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