🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #244912

Re: slrn scorefile ~groups (numpty question, sorry)

#244912
From: Mike Yetto
Date: Mon, 07 Mar 2011 17:53
58 lines
4026 bytes
notbob <notbob@notbob.invalid> writes and having writ moves on.
>On 2011-03-07, Sylvain Robitaille <syl@alcor.concordia.ca> wrote:
>> On 2 Mar 2011 01:39:51 GMT, notbob wrote:
>>
>>> And isn't the slrn score file linear?  IOW, it reads from top to
>>> bottom and passes matches as it goes?  So, if you put the exceptions
>>> at the top, slrn will pass them before rejecting any more specs you
>>> might have further down the list?  Or am I incorrectly assuming this?
>>
>> I'm not sure.  That might be clarified in the documentation.  Otherwise
>> it would be worth testing, if you use scoring extensively.

>Yes, after dusting my brain off, I find this is, in fact, the case.
>Looking at my /home/notbob/News/score file, it has BlinkytheShark's
>kill-all rule for google groups (GG) near the top to kill ALL postings
>from google and webtv servers:


>[*]
>Score:: =-9999
>Message-ID: googlegroups
>Message-ID: webtv  


>This effectively kills all GG/WTV posts from all groups.  OTOH, I have
>a few friends who use GG, so I put them above (before) the kill-all
>rule.  An example is:

>[news.software.readers]
>Score:: =0000
>From: name1
>From: name2

>When I first started scoring, my file got so long it took over a whole
>minute to process before slrn would fire up.  I tossed the whole thing
>and started over, reading more about scoring.  It pays to read about
>how to score and learn how to condense your file to the smallest
>possible file size.  Put as many score options into a single group
>catagory as possible.  Delete ALL comments (%).  Also, note the double
>colons (::) for Score, allowing an OR condition.  I put these comments
>at beginning of my score file:

>%  :    Logical AND ie all tests must be passed (Conjunction)
>%  ::   Logical OR ie any of the tests are passed (Disjunction)
>%  ~    Logical NOT ie an exception from the score rule (Negation)
>%  =    Stop score processing and award the score if the test is
>%       passed
>%  *    Wild card character

The equal sign (=) sets a score rather than adjusting it.  After
a score is set it is locked in, so =-100 will not be changed
later in the score file, but -100 can be.  Also a score of 137
can be changed to -537 by a score of =-537.

Mike "numbers were changed to protect the innocent" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Technical Details
Message-ID: <slrn20110307124534.519.twooffive@may.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <7cht38x91q.ln2@news.ducksburg.com> <slrnimqpk4.j2n.syl@charlotte.encs.concordia.ca> <8t5lf7Fc15U2@mid.individual.net> <slrnina17o.en7.syl@charlotte.encs.concordia.ca> <8tkj9eFmjdU5@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20110307124534.519.twooffive@may.eternal-september.org>
Subject: Re: slrn scorefile ~groups (numpty question, sorry)
Date: Mon, 07 Mar 2011 12:53:04 -0500
From: Mike Yetto <myetto1@nycap.invalid>
References: <7cht38x91q.ln2@news.ducksburg.com> <slrnimqpk4.j2n.syl@charlotte.encs.concordia.ca> <8t5lf7Fc15U2@mid.individual.net> <slrnina17o.en7.syl@charlotte.encs.concordia.ca> <8tkj9eFmjdU5@mid.individual.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 58
Injection-Info: may.eternal-september.org;
 posting-host="Q35aL/iq97mO2HkKT/0gBg";
 logging-data="1542"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX18DRFA/bhVESU4hhBUI/SXd77rsUgfyOpw="
User-Agent: slrn/pre1.0.0-26/co (Kubuntu 10.04; 64bit)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes
Cancel-Lock: sha1:2aig1cBe22/T6CA+Phy4e2af8UM=
 sha1:SGKq9MTsa40Lpwuda6J/Bhmhmss=
X-Original-Bytes: 3823