From: hkantola@cc.Helsinki.FI (Heikki Kantola) Newsgroups: news.software.readers Subject: Re: Killing crossposts in SLRN Date: 22 Jan 1997 10:57:46 GMT Organization: Department of General Wizardry, Unseen University, Ankh-Morpork Lines: 55 Message-ID: <5c4rra$cva@oravannahka.Helsinki.FI> References: Reply-To: Heikki.Kantola@IKI.FI NNTP-Posting-Host: vesuri-ether.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.8 Xref: news.teleport.com news.software.readers:38307 In article , Xmatt@primefactor.com (remove X to reply) writes: > I've been using SLRN for a while now and have just started exploring the > kill file format, but the documentation seems to be very limited. The KILL_FAQ and score.txt documents that come in the slrn archive should get you started. > Some of the things I want to do with the score file is: These are easy... > Kill any message that has been crossposted to N or more newsgroups > where N would be a number. The following would do the trick for articles posted to 6 or more groups: Score: -9999 Xref: .*:.* .*:.* .*:.* .*:.* .*:.* > Kill any message whos subject line was written in all caps. Score: -9999 ~Subject: \c[a-z] Score: -9999 Subject: ^Re: ~Subject: ..\c[a-z] > Kill any message that contains the words make, money, and fast no > matter what order they come in and case-insensitive. If you want exactly that, it would be: Score:: -9999 Subject: make.*money.*fast Subject: fast.*money.*make Subject: money.*make.*fast Subject: money.*fast.*make Subject: make.*fast.*money Subject: fast.*make.*money Although, I think a better (read: shorter) option might be: Score:: -5000 Subject: money Subject: fast Subjecy: make ...even as I think that slrn doesn't currently make article disappear from the listing even if it would gain -15000 score from the above rule. :-/ -- Heikki "Hezu" Kantola, Lähettämällä mainoksia tai muuta asiatonta sähköpostia yllä olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta. From: davis@space.mit.edu (John E. Davis) Newsgroups: news.software.readers Subject: Re: Killing crossposts in SLRN Date: 23 Jan 1997 09:12:16 GMT Organization: Center for Space Research Lines: 30 Message-ID: References: <5c4rra$cva@oravannahka.Helsinki.FI> NNTP-Posting-Host: aluche.mit.edu X-Newsreader: slrn (0.9.3 BETA UNIX) Xref: news.teleport.com news.software.readers:38382 On 22 Jan 1997 10:57:46 GMT, Heikki Kantola wrote: >Score:: -9999 > Subject: make.*money.*fast > Subject: fast.*money.*make > Subject: money.*make.*fast > Subject: money.*fast.*make > Subject: make.*fast.*money > Subject: fast.*make.*money > >Although, I think a better (read: shorter) option might be: >Score:: -5000 > Subject: money > Subject: fast > Subjecy: make Close. The last score will give a score of -5000 to any article whose subject contains `money' OR `fast' OR `make'. However, I believe the original poster wanted to score a subject that contains `money' AND `fast' AND `make': Score: -5000 Subject: money Subject: fast Subject: make Note the only difference is the number `:' charcters. --John From: rosentha@asp.hao.ucar.edu (Colin Rosenthal) Newsgroups: news.software.readers Subject: Re: Killing crossposts in SLRN Date: 22 Jan 1997 23:02:55 GMT Organization: High Altitude Observatory/NCAR, Boulder CO Lines: 16 Message-ID: <5c66av$7so@ncar.ucar.edu> References: <5c4rra$cva@oravannahka.Helsinki.FI> Reply-To: rosentha@hao.ucar.edu NNTP-Posting-Host: asp.hao.ucar.edu X-Newsreader: slrn (0.9.2.0 BETA UNIX) Xref: news.teleport.com news.software.readers:38398 On 22 Jan 1997 10:57:46 GMT, Heikki Kantola wrote: >Although, I think a better (read: shorter) option might be: >Score:: -5000 > Subject: money > Subject: fast > Subjecy: make You might also want to add Score: -9999 Subject: $$ :-) Colin Rosenthal From olsenc@read.sig Thu Jan 30 12:44:48 1997 Path: news.teleport.com!nntp.teleport.com!news.structured.net!news-xfer.netaxs.com!news.mathworks.com!worldnet.att.net!news.u.washington.edu!olsenc From: olsenc@read.sig (Clint Olsen) Newsgroups: news.software.readers Subject: Re: SLRN: Using {n,m} as regexes in scoring? Date: 28 Jan 1997 02:08:11 GMT Organization: University of Washington, Seattle, WA Lines: 22 Message-ID: References: NNTP-Posting-Host: misha.ee.washington.edu NNTP-Posting-User: olsenc X-Newsreader: slrn (0.9.2.1 BETA UNIX) Xref: news.teleport.com news.software.readers:38677 On 28 Jan 1997 02:04:48 GMT, Clint Olsen wrote: > >Can I use some of the extended regexes in scoring? I'm trying to weed out >all these damn MONEY, FAST, SCAMS: > >[*] >Score:: -9999 > Subject: fast > Subject: cash > Subject: money > Subject: \${2,} To answer my own question, using "Subject: \$\{2,\}" appears to work just dandy :) 3 whoops for SLRN! -Clint -- Clint Olsen . __ olsenc@kodiak.ee.washington.edu /o \/ o . \__/\