From: Marc Tfardy <m-t-o___CUT__IT@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Remove all lines containig a keyword
Date: Sun, 14 Sep 2008 18:16:32 +0200 [thread overview]
Message-ID: <6j4rn2F1elujU1@mid.individual.net> (raw)
In-Reply-To: <22932311-7aca-41eb-b2d9-796c53229c80@o40g2000prn.googlegroups.com>
Xah schrieb:
> 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.
,----[ C-h f delete-matching-lines RET ]
| delete-matching-lines is an alias for `flush-lines' in `replace.el'.
| (delete-matching-lines regexp &optional rstart rend interactive)
`----
As posted by Davin Pearson.
regards
Marc
next prev parent reply other threads:[~2008-09-14 16:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-14 9:08 Remove all lines containig a keyword Christian Herenz
2008-09-14 9:53 ` Davin Pearson
2008-09-14 12:24 ` harven
2008-09-14 15:12 ` Ross A. Laird
2008-09-14 20:42 ` Drew Adams
2008-09-14 15:18 ` Xah
2008-09-14 16:16 ` Marc Tfardy [this message]
2008-09-15 19:47 ` Christian Herenz
2008-09-29 2:46 ` Chris Patterson
-- strict thread matches above, loose matches on Subject: below --
2008-10-03 13:54 Bourgneuf Francois
2008-10-03 14:06 ` Parker, Matthew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6j4rn2F1elujU1@mid.individual.net \
--to=m-t-o___cut__it@web.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.