🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #446

Re: RN: Can I put a kill file in each subdirectory?

#446
From: Brad Templeton
Date: Sat, 03 Aug 1991 02:52
21 lines
1208 bytes
I will point out that NewsClip can do all that if you want.

You would write it as:

	if( main_newsgroup has "^rec.arts" ) {
		/* filtering code */
		}

or
	if( left( main_newsgroup, 2 ) == "rec.arts" )

Would also do the trick without regular expressions.  ("left" parses
strings by dots.)

You could also write a simple loop to go up the hierarchy reading
kill databases at each level of the tree.


	
-- 
Brad Templeton, ClariNet Communications Corp. -- Waterloo, Ontario 519/884-7473
Technical Details
Message-ID: <1991Aug03.025238.9745@looking.on.ca>
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!gmdzi!unido!fauern!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!samsung!uunet!looking!brad
References: <9197@umd5.umd.edu> <18895@darkstar.ucsc.edu> <9224@umd5.umd.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1991Aug03.025238.9745@looking.on.ca>
Subject: Re: RN: Can I put a kill file in each subdirectory?
Date: Sat, 03 Aug 1991 02:52:38 +0000
From: brad@looking.on.ca (Brad Templeton)
References: <9197@umd5.umd.edu> <18895@darkstar.ucsc.edu> <9224@umd5.umd.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!gmdzi!unido!fauern!math.fu-berlin.de!ox.com!caen!zaphod.mps.ohio-state.edu!samsung!uunet!looking!brad
Newsgroups: news.software.readers
Organization: ClariNet Communications Corp.
Lines: 21