Monday, May 17, 2010

how to keep some lines and delete all others?

Hi,

I have a log that has two pattern repeated many times. the between two
pattern there are other lines data. I want to delete all other lines
and keep the two pattern. Can I do this in vim?

Thanks

Frank

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