all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Remove all lines containig a keyword
@ 2008-09-14  9:08 Christian Herenz
  2008-09-14  9:53 ` Davin Pearson
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Christian Herenz @ 2008-09-14  9:08 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Remove all lines containig a keyword
@ 2008-10-03 13:54 Bourgneuf Francois
  2008-10-03 14:06 ` Parker, Matthew
  0 siblings, 1 reply; 11+ messages in thread
From: Bourgneuf Francois @ 2008-10-03 13:54 UTC (permalink / raw)
  To: Chris Patterson, help-gnu-emacs

C-M-% .*sold.*C-q C-j Enter !

I explain :
C-M-% : query-replace-regexp
.*sold.*C-q C-j : 0-n character followed by "sold" followed by 0-n character followed by NEWLINE ( C-q C-j )
Bour9

> -----Message d'origine-----
> De : 
> help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.fr@gnu.or
> g 
> [mailto:help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.f
> r@gnu.org] De la part de Chris Patterson
> Envoyé : lundi 29 septembre 2008 04:46
> À : help-gnu-emacs@gnu.org
> Objet : Re: Remove all lines containig a keyword
> 
> Christian Herenz <herenz@physik.hu-berlin.de> writes:
> 
> > 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
> 
> Looks like you have several suggestions. I'll chime in with M-x
> flush-lines.
> 
> 




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-10-03 14:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.