Thursday, November 3, 2011

vim command line use

I have just come across vim for the first time and so I am probably asking an old question (but I didn’t find it in the FAQ):

 

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.

 

Eric Weissman, physicist

GE Reuter-Stokes

Twinsburg, OH 44087

 

 

Eric Weissman, physicist

GE Reuter-Stokes

Twinsburg, OH 44087

 

No comments:

Post a Comment