Globally replace text in several files: Difference between revisions

Content added Content deleted
m (→‎version 1: added whitespace, used a template for the output section.)
m (Replaced "var" by "let".)
Line 927: Line 927:
<lang nim>import strutils
<lang nim>import strutils


var fr = "Goodbye London!"
let fr = "Goodbye London!"
var to = "Hello, New York!"
let to = "Hello, New York!"


for fn in ["a.txt", "b.txt", "c.txt"]:
for fn in ["a.txt", "b.txt", "c.txt"]: