🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #244900

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

#244900
From: Sylvain Robitaille
Date: Tue, 01 Mar 2011 21:35
34 lines
2470 bytes
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.

-- 
----------------------------------------------------------------------
Sylvain Robitaille                               syl@encs.concordia.ca
 
Systems analyst / AITS                            Concordia University
Faculty of Engineering and Computer Science   Montreal, Quebec, Canada
----------------------------------------------------------------------
Technical Details
Message-ID: <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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!tr22g12.aset.psu.edu!newsflash.concordia.ca!not-for-mail
References: <7cht38x91q.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnimqpk4.j2n.syl@charlotte.encs.concordia.ca>
Subject: Re: slrn scorefile ~groups (numpty question, sorry)
Date: Tue, 01 Mar 2011 21:35:00 +0000
From: Sylvain Robitaille <syl@alcor.concordia.ca>
References: <7cht38x91q.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!tr22g12.aset.psu.edu!newsflash.concordia.ca!not-for-mail
Newsgroups: news.software.readers
Organization: Concordia University, Montreal, Canada
Lines: 34
NNTP-Posting-Host: charlotte.encs.concordia.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: newsflash.concordia.ca 1299015300 7715 132.205.47.193 (1 Mar 2011
X-Complaints-To: abuse@concordia.ca
NNTP-Posting-Date: Tue, 1 Mar 2011 21:35:00 +0000 (UTC)
NNTP-Posting-User: 1143
User-Agent: slrn/0.9.9p1 (Linux)