68488Re: hiding lines
- May 1, 2006On 2006-05-01, cga2000 <cga2000@...> wrote:
> Thus spake Yakov Lerner on Mon, May 01, 2006 at 10:06:57PM +0300 or thereabouts: <iler.ml@...> [2006-05-01 17:25]:I can't think of anything 'grep -v <pattern>' can do in this
> > On 5/1/06, Bill Pursell <bill.pursell@...> wrote:
> > >
> > >Is it possible to completely hide lines? Something stronger than merely
> > >folding. In particular, I'd like to be able to display the buffer with
> > >all lines containing "assert" hidden, or to hide lines between and
> > >including #ifdef/#endif pairs. Can that be done?
> > Piping the buffer text into temp. buffer through some sort
> > of grep -v.
> could you be a little more specific - or provide a short example.. been
> looking for something like this myself for some time..
situation that 'v/<patter>/d' can't, so here's one way to do this:
Gary Johnson | Agilent Technologies
garyjohn@... | Wireless Division
| Spokane, Washington, USA
- << Previous post in topic Next post in topic >>