finding a pattern spanning multiple lines in vim
- From: "Roger" <r.erens@xxxxxxxxxx>
- Date: 1 Jul 2005 07:04:01 -0700
Hi,
given this type of log file:
datetime 1: bla
...
datetime 23: beginning download
....
.... all kind of log messages here
....
datetime 45: finishing download
....
datetime x: and so on and so on
how would I find the chunks between <beginning download> and <finishing
download> in vim? The number of lines between <beginning download> and
<finishing download> can vary.
Trying
/beginning download\_.*finishing download/
does not work as it goes on to the end of the file.
Any help much appreciated!
.
- Follow-Ups:
- Re: finding a pattern spanning multiple lines in vim
- From: Preben 'Peppe' Guldberg
- Re: finding a pattern spanning multiple lines in vim
- Prev by Date: Re: Truncating text after a string in SED?
- Next by Date: Re: finding a pattern spanning multiple lines in vim
- Previous by thread: Re: How to Check in using Multi Edit 9.10.04
- Next by thread: Re: finding a pattern spanning multiple lines in vim
- Index(es):
Relevant Pages
|