🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #7800

Re: Trouble with killfiles in trn

#7800
From: Wayne Davison
Date: Wed, 23 Feb 1994 04:35
22 lines
1584 bytes
According to A. Chris Long  Jr. <allanl@anaconda.CS.Berkeley.EDU>:
> What I want is to kill all articles with the string '[Mac' in the
> Subject line.  I tried the following lines in my killfile
> 
> 	/.*\[Mac.*/:j
> 	/\[Mac/:j

The latter line is almost correct.  If you want case to be significant
(you're using "Mac") then you need the 'c' modifier.  As for why it didn't
match an article with [Mac] in the subject, I can only speculate that
you were fiddling with the kill file and the THRU line was pointing
past the article in question.  Either use the ignore-thru-line modifier
('I') or remove the THRU line from the kill file when you modify it
(note that you need a modern trn for the former ('I') to work -- 3.4.1
is the latest).  The corrected command might look like this:

	/\[Mac/Ic:j

If you're still having trouble, let me know.
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <CLnu3r.K3p@borland.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
References: <2ked5u$al3@anaconda.CS.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <CLnu3r.K3p@borland.com>
Subject: Re: Trouble with killfiles in trn
Date: Wed, 23 Feb 1994 04:35:50 GMT
From: davison@borland.com (Wayne Davison)
References: <2ked5u$al3@anaconda.CS.Berkeley.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 22