Article View: news.software.readers
Article #36675Re: slrn scoring and newsgroup exceptions
From: Lloyd Zusman
Date: Thu, 16 Oct 1997 00:00
Date: Thu, 16 Oct 1997 00:00
35 lines
1938 bytes
1938 bytes
On 14 Oct 1997 10:04:15 GMT, Heikki Kantola <hezu@iki.fi> wrote:
> John R MacMillan <john@mail.interlog.com> informed
> news.software.readers with the following:
> >Is there anyway to `negate' a pattern in the newsgroups part of the
> >score file, eg. [comp.lang.*,!comp.lang.c.moderated] would specify
> >everything under comp.lang _except_ comp.lang.c.moderated?
>
> Yes, the negation char is '~', so [comp.lang.*, ~comp.lang.c.moderated]
> should yield the scope you wished.
I'm sorry, but I don't think that this is correct. I looked in score.c,
and it looks like the negation char ('~') is only significant after
the opening bracket in a newsgroup line. In this case, it negates
the sense of all the newsgroup matches. In other words ...
[~comp.lang.*, alt.lang.s-lang]
... this is correct, and it means that the following scoring
rules apply to all groups except those matching
comp.lang.* and except the group alt.lang.s-lang
[comp.lang.*, ~alt.lang.s-lang]
... this is not correct. It would only do something meaningful
if there happened to be a newsgroup named '~alt.lang.s-lang'
(with a leading '~' before 'alt'), and this is impossible.
> [ ... ]
--
Lloyd Zusman
ljz@asfast.com
Technical Details
Message-ID:
<slrn64angj.5gl.ljz@ljz.asfast.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:
<slrn6454pr.481.john@elixir.interlog.com> <slrn646h5s.fg7.hezu@polva.helsinki.fi>Show Full Headers
Complete Article Headers
Message-ID: <slrn64angj.5gl.ljz@ljz.asfast.net> Subject: Re: slrn scoring and newsgroup exceptions Date: Thu, 16 Oct 1997 00:00:00 +0000 From: ljz@asfast.com (Lloyd Zusman) References: <slrn6454pr.481.john@elixir.interlog.com> <slrn646h5s.fg7.hezu@polva.helsinki.fi> 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: 280843915 X-Newsgroup: news.software.readers Organization: As Fast Reply-To: ljz@asfast.com (Lloyd Zusman) Newsgroups: news.software.readers