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