Article View: news.software.readers
Article #30116Re: Help w/ Killfile in NX
From: Spaminator
Date: Sat, 25 Jan 1997 00:00
Date: Sat, 25 Jan 1997 00:00
80 lines
3279 bytes
3279 bytes
In article <5c651l$bnc_001@cac.psu.edu>, tss131@email.psu.edu (Tim S.) wrote: > I was wondering if anyone happened to know how I might be able to filter out > those annoying posts that start out with "$$$" and stuff like that. I enter a > $ in the killfile line, but since it reads it as UNIX commands it selects all > and I get no articles available. Is there any way that I can get around this? Yup. Try this: \$* That will kill ANYTHING with 1, or more, "$" sign ANYWHERE on the subject line. But, if you check out any "For Sale" newsgroups, they'll probably be pretty empty. ;-) I use \$\$*, which should kill anything with 2 or more dollar signs in the subject line. It's hard for me to tell, as I have other kills which would affect this. The "*" sign means there could be 100 of whatever, and it would match them all. (Sorry. I can't put it into better terms.) Here's the NX.HLP file portion of this. ===begin cut=== A regular expression consists of one or more statements separated by '|' character. A statement consists of one or more items. An item consists of zero or more operators, and one or more characters. Any character which is reserved for operator, must be preceded by a blackslash to match it literally. Operator Explanation ? preceeding item is optional * preceeding item occurs zero or more times + preceeding item occurs one or more times ^ matches item at the beginning of a line $ matches item at the end of a line [chars] match any character in the given list of characters; a range of characters may be specified by separating two characters by "-"; for example, [a-z], [A-Z], or [0-9]; to specify "-" literally, make it the first or last character in the list [^chars] match any character not in the given list of characters Example 1: test|ignore|make (\$*|money) This regexp matches any string which contains "test", "ignore", "make $", "make $$", or "make money". Example 2: ok [^a-z0-9]ok[^a-z0-9] The first regexp matches any string which contains "ok", such as "book", "look", or "token"; the second regexp matches any string which contains the word "ok". ===end cut=== EMail address modified to bypass bulk EMailers. Reply to: miketoth@mc.net Learn how to get the spammers, and junk EMailers, back. Go to: http://user.mc.net/~miketoth/index.html Excellent collection of links/URLs and other items so YOU can help in the fight of net abuse! Now: News Xpress "KILLRC" file. Version #4.0 now online. P.S. to junk EMailers: If you send me junk EMail, and say you've seen my post(s), you're in for a WORLD of HURT!!!!!
Technical Details
Message-ID:
<5ccdf6$1h0_010@miketoth.mc.net>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:
<5c651l$bnc_001@cac.psu.edu>Show Full Headers
Complete Article Headers
Message-ID: <5ccdf6$1h0_010@miketoth.mc.net> Subject: Re: Help w/ Killfile in NX Date: Sat, 25 Jan 1997 00:00:00 +0000 From: Spaminator@stop.spam (Spaminator) References: <5c651l$bnc_001@cac.psu.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: 212232315 Organization: Spam Police Followup-to: alt.dev.null Newsgroups: news.software.readers