Thursday, November 3, 2011

Re: vim command line use

On Thursday, November 03, 2011 14:11:28 Weissman, Eric (GE Energy
Services) wrote:

> Can vim be used as a command on a shell command line? I
> would like to use it to search a list of files and substitute
> a new string for a pattern it finds, and then write the
> resulting file to a new filename for each file in the
> original list.

is there a reason you want to use vim for this? i would think
sed is better suited for what you describe

sc

--
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