> I'm not sure I follow this example...you never invoke vim/vi/ed/ex
> to edit the stream. And for the change in question, unless your
> "pattern" includes vim-specific tokens, I'd be tempted just to use
> sed.
Oups I did not write the right command. I meant
ed -s '%s/pattern/replace/g | w' file
(not sh)
--
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