🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #7732

Re: trn killfile question

#7732
From: Wayne Davison
Date: Wed, 16 Feb 1994 19:19
19 lines
1319 bytes
According to Melanie A. Swain <mas8y@holmes.acc.virginia.edu>:
> The user expected the following to kill all posts with 10-19 lines:
> /^Lines= 1.*/h:j

Nope.  First off, the Lines header has a colon on it, not an equal sign.
Secondly the regex above will match anything in the 100-199 range, the
1000-1999 range, etc.

If your user has a modern version of trn (3.4.1 is the latest), use the
following command, as it works the fastest:

/: 1.$/Hlines:j

If you're having to make do with an old trn use:

/^Lines: 1.$/h:j
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <CLC0CB.GLA@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!dsinc!ub!news.kei.com!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
References: <MAS8Y.94Feb16121508@holmes.acc.virginia.edu>

Show Full Headers
Complete Article Headers
Message-ID: <CLC0CB.GLA@borland.com>
Subject: Re: trn killfile question
Date: Wed, 16 Feb 1994 19:19:22 GMT
From: davison@borland.com (Wayne Davison)
References: <MAS8Y.94Feb16121508@holmes.acc.virginia.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!dsinc!ub!news.kei.com!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 19