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