Just think PIE!
So if text.txt (and text2.txt) looks originally somehow like this:
lili lili
Then it would after running the above command look like this:
lala lala
The nice thing about this is, that thanks to the -i.old parameter, you even get backup files for all the originals.
3 parameters might be a p.i.t.a., but at least for me, thinking about pie might help here
Thanks to Hubert Chen for this one.
(I at least hope I haven't messed up anything here. I'm normally not using Perl for ... anything
)
