On Wed, March 21, 2012 10:42, Jeri Raye wrote:
> Hi
>
> I have a compiler log with too many lines.
> I would like to strip that document to only the lines I want.
>
> How to that?
>
> For example, I have a text like this
> +--START OF TEXT --+
> Boring line
> Not interesting line
> Useless line
> Blabla
> THIS IS REALLY AN INTERESTING BLOCK OF TEXT
> [111]
> [222]
> [333]
> LAST LINE OF REALLY AN INTERESTING BLOCK OF TEXT
> Another boring line
> Another not interesting line
> SINGLE LINE OF INTERESTING TEXT (FOR EXAMPLE:  TIMING MET, OR HEAP SIZE IS
> xxx))
> Another useless line
> +--END OF TEXT --+
>
> How can I strip it that I have only this:
> +--START OF TEXT --+
> THIS IS REALLY AN INTERESTING BLOCK OF TEXT
> [111]
> [222]
> [333]
> LAST LINE OF REALLY AN INTERESTING BLOCK OF TEXT
> SINGLE LINE OF INTERESTING TEXT (FOR EXAMPLE:  TIMING MET, OR HEAP SIZE IS
> xxx))
> +--END OF TEXT --+

How do you determine what is interesting or not?

regards,
Christian

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

Reply via email to