for i in *.txt; do vim $i "%s/foo/bar/g"; done
Now it opens each txt file but it doesn't replace or save them.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment