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

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

Re: Remove all lines containig a keyword


From: Xah
Subject: Re: Remove all lines containig a keyword
Date: Sun, 14 Sep 2008 08:18:32 -0700 (PDT)
User-agent: G2/1.0

On Sep 14, 2:08 am, Christian Herenz <her...@physik.hu-berlin.de>
wrote:
> Hi,
> I have a huge list of "stuff" I sell / sold.
> To print out an actual list, without the stuff that is sold already, It would 
> be
> nice to have a command for doing this task automated - Remove all lines with 
> the
> keyword "sold".
> Thanks for your Help,
> Christian

you can just use M-x delete-matching-lines.

Note that there's also list-matching-lines.
these tips are from and more: http://xahlee.org/emacs/emacs_esoteric.html

  Xah
∑ http://xahlee.org/

reply via email to

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