Article View: news.software.readers
Article #24377Re: trn killfile: kill "foo" but NOT "fooness" ?
From: Tom Christiansen
Date: Tue, 23 Jul 1996 00:00
Date: Tue, 23 Jul 1996 00:00
19 lines
1302 bytes
1302 bytes
[courtesy cc of this posting sent to cited author via email]
In news.software.readers,
jaelee@reno.WPI.EDU (Jae Hyuk Lee) writes:
:Is there a way to set up my trn killfile so that "foo" is killed
:but not "fooness" ? /foo/:j kills both subjects. Thanks.
In rn and its ilk, you use /\bfoo\b/:j to kill only foo with surrounding
word boundaries. I wonder who thought up \b? It reminds me of perl. :-)
--tom
--
Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
I have a different view of the world. --Andrew Hume. Show&Tell '87
Technical Details
Message-ID:
<4t1tju$8ej@csnews.cs.colorado.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<4t1g91$a5s@bigboote.WPI.EDU>Show Full Headers
Complete Article Headers
Message-ID: <4t1tju$8ej@csnews.cs.colorado.edu> Subject: Re: trn killfile: kill "foo" but NOT "fooness" ? Date: Tue, 23 Jul 1996 00:00:00 +0000 From: Tom Christiansen <tchrist@mox.perl.com> References: <4t1g91$a5s@bigboote.WPI.EDU> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 170141666 Content-type: text/plain; charset=ISO-8859-1 Organization: Perl Consulting and Training Reply-to: tchrist@mox.perl.com (Tom Christiansen) Newsgroups: news.software.readers Originator: tchrist@mox.perl.com