Article View: news.software.readers
Article #244904Re: slrn scorefile ~groups (numpty question, sorry)
From: Adam Funk
Date: Wed, 02 Mar 2011 12:48
Date: Wed, 02 Mar 2011 12:48
37 lines
2307 bytes
2307 bytes
On 2011-03-01, Sylvain Robitaille wrote: > On Mon, 28 Feb 2011 21:40:55 +0000, Adam Funk wrote: > >> If I want a score rule to apply in all groups except alt.foo, sci.bar, >> and ones ending in "announce", is the correct format for opening the >> stanza >> >> [~alt.foo,sci.bar,*.announce] >> or >> [~alt.foo,~sci.bar,~*.announce] > > Quoted from slrn-0.9.9p1/score.txt: > > If the first character following the opening square bracket is `~', > then the newsgroup or newsgroups contained in the brackets are NOT to > be matched. That is, the `~' character is used to denote the boolean > NOT operation. > > Your example, then, would be slightly easier to read, and for a human to > parse, if written with whitespace around the newsgroup names: > > [~ alt.foo, sci.bar, *.announce] > > Matches all newsgroups except "alt.foo", "sci.bar", and any that have > "announce" as the last component of the newsgroup name. > > I hope this helps. Yes, thanks very much. -- The three-martini lunch is the epitome of American efficiency. Where else can you get an earful, a bellyful and a snootful at the same time? [Gerald Ford, 1978]
Technical Details
Message-ID:
<stq148x78j.ln2@news.ducksburg.com>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!news.glorb.com!news.unit0.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<7cht38x91q.ln2@news.ducksburg.com> <slrnimqpk4.j2n.syl@charlotte.encs.concordia.ca>Show Full Headers
Complete Article Headers
Message-ID: <stq148x78j.ln2@news.ducksburg.com> Subject: Re: slrn scorefile ~groups (numpty question, sorry) Date: Wed, 02 Mar 2011 12:48:28 +0000 From: Adam Funk <a24061@ducksburg.com> References: <7cht38x91q.ln2@news.ducksburg.com> <slrnimqpk4.j2n.syl@charlotte.encs.concordia.ca> 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!news.glorb.com!news.unit0.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: $CABAL Lines: 37 X-Trace: individual.net ZtELP5aNZbi09WNudqnqhg6ahOQfN1Llw2GgcZF8J8oyndrS5o X-Orig-Path: news.ducksburg.com!not-for-mail Cancel-Lock: sha1:c20MSkTLoSVdXZHKXI+E5Hj3D5o= sha1:hdrKIw8ADCOeedkfqEmNgyo3ciw= User-Agent: slrn/pre1.0.0-26/mm/ao (Ubuntu Maverick) X-Original-Bytes: 2088