Monday, May 24, 2010

how to insert two lines at the same place in many files

I have over 300 files that need the following done to them:

at line X insert the following two lines:

xxx [foo]
xxx ack

where [foo] is the fully qualified path the the file with the /'s
converted to .'s

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