Article View: news.software.readers
Article #43440Re: [slrn / slrnpull] Scoring - Kill everything but selected authors
From: Dawn Owens-Nicholson
Date: Sun, 27 Sep 1998 00:00
Date: Sun, 27 Sep 1998 00:00
54 lines
2886 bytes
2886 bytes
Gary Jones wrote:
> [...] I want to use the slrnpull scoring to kill everything but a selected
> group of posters on a ng [...my broken scorefile follows...]
> #start score file
> [some.newsgroup]
> Score: -10
> From: *
> ~From: Gary Jones
> #more authors here
> #end score file
Peppe replied:
> The problem is the single ":" in "Score:". This means that the
> following conditions must all be fulfilled (A and B and C ...). If you
> use "Score::" instead, the article will be scored if any of the
> conditions match (A or B ...).
Actually, if we assume -10 is Gary Jones' kill score (odd, but there was no
other text indicating this wasn't the case) and hope slrn doesn't think the
"#" lines are preprocessor lines and delete the erroneous "From: *" line,
that will kill everything in the group(s) listed. Take away the "#" lines:
[some.newsgroup]
Score: -10
From: *
~From: Gary Jones
and you can see the first regex line, "From: *", means nothing and should be
removed or changed to mean something[1]. The second will kill everyone's
post *except* Gary Jones' posts. Archiving one's posts is far more
efficient than getting them this way and that doesn't appear to meet the
criteria cited above. Using the double-colon (OR) won't work either:
[some.newsgroup]
Score:: -10
~From: person1
~From: person2
~From: person3
Because this will kill everything in some.newsgroup. person1's posts are
killed because the second From will evaluate to true (person1 is not
person2), thus the article is reduced 10 points (a kill according to what
Gary Jones posted). person2 and person3's posts are similarly killed after
evaluating the first From. Since all other people are not persons 1-3,
their posts will also be killed after the first From. I suggest a better
alternative in <slrn70r1p1.akg.bluemoon@ux6.cso.uiuc.edu>.
[1] rgrep (which comes with jed) says a lone asterisk matches a literal
asterisk, but it's far more likely this was thought to be "everyone
EXCEPT Gary Jones" taken in the context of the scorefile snippet Gary
Jones posted.
Technical Details
Message-ID:
<slrn70r2er.akg.bluemoon@ux6.cso.uiuc.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-mailReferences:
<360cdb36.12503752@manassa.demon.co.uk> <slrn70pprc.1ur.c928400@urdybet.bergsoe.dtu.dk>Show Full Headers
Complete Article Headers
Message-ID: <slrn70r2er.akg.bluemoon@ux6.cso.uiuc.edu> Subject: Re: [slrn / slrnpull] Scoring - Kill everything but selected authors Date: Sun, 27 Sep 1998 00:00:00 +0000 From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson) References: <360cdb36.12503752@manassa.demon.co.uk> <slrn70pprc.1ur.c928400@urdybet.bergsoe.dtu.dk> 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: 395200837 Organization: University of Illinois at Urbana-Champaign User-Agent: slrn/0.9.5.3 (UNIX) Newsgroups: news.software.readers