Thursday, January 27, 2011

Re: Grep command in vim(Need help )

On 28/01/11 12:18 AM, Radu Grigore wrote:
> It looks like you want "grep -A 1 ERROR *.vcs.log > result.log"
> rather than vim.

I agree. You may like to use Vim to process the resulting file to make it
prettier, but the gathering of the data in the first instance is probably better
done by grep.

Ben.


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