help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete non-matching lines


From: Nachiket Gokhale
Subject: Re: delete non-matching lines
Date: Tue, 11 Aug 2009 11:57:53 -0700 (PDT)
User-agent: G2/1.0

On Aug 11, 11:25 am, Xah Lee <xah...@gmail.com> wrote:
> On Aug 11, 6:59 am, Nachiket Gokhale <gokha...@gmail.com> wrote:
>
> > How do I delete all lines starting with
>
> > "ESPN"
>
> > And, the opposite:
>
> > How do I delete all lines not starting with
>
> > "ESPN"
>
> LOL.
>
> Type
>
> Alt+x delete-matching-lines
> Alt+x delete-non-matching-lines
>
> with
>
> ^ESPN
>
>   Xah
>http://xahlee.org/
>
>

Thanks, everybody.

-Nachiket


reply via email to

[Prev in Thread] Current Thread [Next in Thread]