Wim for salvation (and the president ;-)). Try:
vim -c "argdo! s:foo:bar:gci" <list_of_files>
(I really love the Vim -c switch, it's magic. Or if you are already in Vim and opened files, for example:
vim <list_of_files>
Only problem:
:bufdo! s:foo:bar:gci
Of course, sed and perl also capable. NTN.
Zsolt Botykai Sep 19 '08 at 14:26 2008-09-19 14:26
source share