Article View: news.software.readers
Article #62319Re: The correct syntax of slrn's killfile ?
From: Jens Wahnes
Date: Fri, 09 Jun 2000 00:00
Date: Fri, 09 Jun 2000 00:00
38 lines
1838 bytes
1838 bytes
Aleksandar Simic wrote:
> [*]
> % Kill all articles which are uppercase, contain $ sign
> % and contain the words "linux"
> Score: -9999
> Subject: \$
> ~Subject: \c[a-z]
> Subject: linux
> Subject: Linux
> Subject: LINUX
You need two colons after "Score" if you want to apply the score in
case any of these rules matches. With one colon, the score is given if
all rules given match the article.
As the search is not case sensitive by default, one line with "linux"
should do, "Linux" and "LINUX" are superfluous.
> Another thing, the second "Subject" line has an "~" in front of it
> (and that, by the way, is there already in the example score
> file). Does the "~" have some special meaning as used in the above
> example?
What example score file? Did you take the examples from score.txt?
Everything about scoring is explained there in depth, e.g. that "~" is
used to negate an entry. In your example, that would be NOT having a
lowercase letter, i.e. having an uppercase letter.
Jens
--
"What is robbing a bank compared with founding a bank?"
- Bertolt Brecht
Technical Details
Message-ID:
<slrn8k2mjc.ul4.jewa@message-id.wahnes-world.de>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:
<slrn8k2lbc.8d.alex@localhost.my.domain>Show Full Headers
Complete Article Headers
Message-ID: <slrn8k2mjc.ul4.jewa@message-id.wahnes-world.de> Subject: Re: The correct syntax of slrn's killfile ? Date: Fri, 09 Jun 2000 00:00:00 +0000 From: Jens Wahnes <jewa@gmx.net> References: <slrn8k2lbc.8d.alex@localhost.my.domain> 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: 633192770 X-NNTP-Posting-Host: localhost Mail-Copies-To: nobody Organization: Wahnes World User-Agent: slrn/0.9.6.2 (Linux) Newsgroups: news.software.readers