🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #36557

Re: [slrn] Variables in scorefile?

#36557
From: Sylvain Robitaille
Date: Fri, 10 Oct 1997 00:00
51 lines
2247 bytes
On 6 Oct 1997 06:42:31 GMT, J.B. Nicholson-Owens
<jbn@pop-a-wheelie.midwest.net> wrote:

> I already do.  The problem is I have multiple instances where I name the
> same series of groups and I want to centralize this duplication by using an
> S-Lang variable.  Scorefile variables would let me have one place to change
> this.  But think beyond this use.  Think of how much more one could do with
> scorefile entries that can be controlled programmatically.

How about something like this?

[local.*,news.group.one,news.group.other]
  Score:: 100
    From: jbn@pop\-a\-wheelie\.midwest\.net
    From: sp_robi@alcor\.concordia\.ca
    From: syl@alcor\.concordia\.ca

  Score: 150
    From: davis@space\.mit\.edu

  Score:: -9999
    Subject: \cWin.*NT
    Subject: win.*95
    Subject: microsoft

[some.other.news.group]
  Score:: ....
    Subject: ....
    Subject: ....

  Score: ....
    From: ....
    Subject: ....

I'm sure you get the idea by now. There's no reason to re-list the
newsgroups for each entry. Just order your entries under the appropriate
newsgroup "section", and unless I misunderstand, you'll get what you're
after (though still no defineable variables).

-- 
----------------------------------------------------------------------
Sylvain Robitaille
sp_robi@alcor.concordia.ca          http://alcor.concordia.ca/~sp_robi

Art is anything you can get away with.
		-- Marshall McLuhan.
----------------------------------------------------------------------


Technical Details
Message-ID: <slrn63rfmg.bnv.sp_robi@Elvira.home>
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
References: <slrn63gm05.ad.jbn@pop-a-wheelie.midwest.net> <slrn63gr84.13h.sp_robi@Elvira.home> <slrn63h1ti.ad.jbn@pop-a-wheelie.midwest.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn63rfmg.bnv.sp_robi@Elvira.home>
Subject: Re: [slrn] Variables in scorefile?
Date: Fri, 10 Oct 1997 00:00:00 +0000
From: sp_robi@alcor.concordia.ca (Sylvain Robitaille)
References: <slrn63gm05.ad.jbn@pop-a-wheelie.midwest.net> <slrn63gr84.13h.sp_robi@Elvira.home> <slrn63h1ti.ad.jbn@pop-a-wheelie.midwest.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-mail
X-Deja-AN: 279181752
Organization: Concordia University, Montreal, Quebec, Canada
NNTP-Posting-User: syl
Newsgroups: news.software.readers