From: brooklynwhite <white805@umn.edu>
To: Help-gnu-emacs@gnu.org
Subject: How to kill line beginning with specific string
Date: Wed, 18 Nov 2009 10:51:29 -0800 (PST) [thread overview]
Message-ID: <26413518.post@talk.nabble.com> (raw)
I need to figure out how to kill a series of lines in a text file that all
begin with the same string. The format of the lines is:
2000 001 00 AIR TEMP 354
The second and third expressions in the line change with subsequent lines,
e.g.:
2000 002 01 AIR TEMP 354
Is there a simple way for me to search for and kill all of these lines
without having to repeatedly enter the search mode and type ctrl-k when the
line is found? I realize this may be a silly question so thanks for your
patience and help.
--
View this message in context: http://old.nabble.com/How-to-kill-line-beginning-with-specific-string-tp26413518p26413518.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
next reply other threads:[~2009-11-18 18:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 18:51 brooklynwhite [this message]
2009-11-19 6:43 ` How to kill line beginning with specific string Dirk-Jan C. Binnema
2009-11-19 17:12 ` brooklynwhite
2009-11-19 10:14 ` Peter Dyballa
[not found] ` <mailman.11032.1258625728.2239.help-gnu-emacs@gnu.org>
2009-11-19 10:45 ` Miles Bader
[not found] <mailman.11014.1258611938.2239.help-gnu-emacs@gnu.org>
2009-11-19 8:47 ` Giorgos Keramidas
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26413518.post@talk.nabble.com \
--to=white805@umn.edu \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).