Globally replace text in several files: Difference between revisions
Globally replace text in several files (view source)
Revision as of 09:38, 31 July 2015
, 8 years ago→{{header|Sidef}}: minor correction: changed "toFile" into "to_file"
(Nimrod -> Nim) |
m (→{{header|Sidef}}: minor correction: changed "toFile" into "to_file") |
||
Line 1,087:
);
files.map{.
say file.edit { |line|
line.gsub("Goodbye London!", "Hello New York!");
|