🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #14475

Re: kill files & regular expressions

#14475
From: stevebo
Date: Tue, 10 Jan 1995 18:16
20 lines
1490 bytes
>   pjkappes@forbin.syr.edu (Peter Kappesser) writes:
>  Recently in news.software.readers, dwomack@runner.utsa.edu (Dave) wrote:
>
>  >I'm trying to filter my news a bit more thoroughly, and would like to kill
>  >any article cross-posted to more than three groups. I've tried:
>  >
>  >/^Newsgroups: *.*,*.*,*.*,*.*,/h:j
>  Anyway, what you want is:
>
>  /^Newsgroups: .*,.*,.*,/h:j


Another way of doing this, since the dot itself matches ANY character is to use a construct like:

/^Newsgroups:[.].*[.].*[.].*/h:j

or whatever.  Enclosing the period within the brackets will allow you to look for the literal "."
Steve
------------------------------------
stevebo@onramp.net
Technical Details
Message-ID: <3euitl$co9@news.onramp.net>
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!nntp.gmd.de!dearn!blekul11!bliulg11!aix1.segi.ulg.ac.be!chaos.kulnet.kuleuven.ac.be! idefix.CS.kuleuven.ac.be!ub4b!EU.net!Germany.EU.net!howland.reston.ans.net!news.sprintlink.net!news.onramp.net!usenet
References: <3etre2$a8c@newstand.syr.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3euitl$co9@news.onramp.net>
Subject: Re: kill files & regular expressions
Date: Tue, 10 Jan 1995 18:16:21 +0000
From: stevebo@onramp.net
References: <3etre2$a8c@newstand.syr.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!nntp.gmd.de!dearn!blekul11!bliulg11!aix1.segi.ulg.ac.be!chaos.kulnet.kuleuven.ac.be! idefix.CS.kuleuven.ac.be!ub4b!EU.net!Germany.EU.net!howland.reston.ans.net!news.sprintlink.net!news.onramp.net!usenet
Newsgroups: news.software.readers
Organization: Steve Silberberg
Lines: 21
NNTP-Posting-Host: dal23.onramp.net
X-Newsreader: AIR News 3.X (SPRY, Inc.)