I found a useful article that explains how one can use emacs to find/replace in several files at once:
http://xahlee.org/emacs/find_replace_inter.html.
I found a useful article that explains how one can use emacs to find/replace in several files at once:
http://xahlee.org/emacs/find_replace_inter.html.
Sounds useful, thanks, I’ll take a look. Without it I’d normally use a perl one-liner:
perl -p -i -e ‘s/pattern/replacement/g’ file1 file2 …
(or “-i.bak” if you’re feeling a little more timid/sensible)