🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #198999

Re: Pan and SLRN score files - The difference?

#198999
From: Bob the Burger-Builder
Date: Thu, 03 May 2007 14:52
53 lines
2880 bytes
Peter J Ross <pjr@example.invalid> apparently said ...:

[...]
>> So, onto my question. (At last!)
>>
>> Does anybody have any info regarding the syntax required to construct
>> scorefiles for *Pan*?
> 
> $ man 3 pcrepattern
> 
>> I have a selection of scorefiles for SLRN, but need to "convert" the
>> data within them to make sure it does indeed work as Pan requires.
> 
> To summarise:
> 
> Change "\(" and "\)" to "(" and ")"
> Change "(" and ")" to "\(" and "\)"
> Change "\<" and "\>" to "\b"
> Change "\C" to "(?-i)" and "\c" to "(?i)"
> 
> Change any rules that use the "{: ... }" syntax to use "|". This may be
> complicated: here's a real example from my scorefile:
> 
> 	Score: =10
> 	From: pjr@example\.invalid
> 	{::
> 		Message-ID: @pjr\.gotdns\.org
> 		Message-ID: @pjr\.motzarella\.org
> 	}
> 	}
> This would become:
> 
> 	Score: =10
> 	From: pjr@example\.invalid
> 	Message-ID: @pjr\.(gotdns|motzarella)\.org
> 
> 
> I hope some of that will help. I've probably missed many of the possible
> problems, and if there isn't at least one typo somewhere I'll be
> surprised.

Many thanks! Just the "prod in the right direction" I wanted.

I'll post up how things go, and hopefully knock a script up to auto
convert SLRN scores to Pan. (Ambitious or what!) ;)


-- 

 "But there you have it, cognitive dissonance on such a level
  that even a frighteningly powerful majority can still feel
  like a victimized underdog." [Quote = cyberen (www.digg.com)]
Technical Details
Message-ID: <pan.2007.05.03.14.52.39.400099@Cuppa.tea>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!proxad.net!news.clara.net!wagner.news.clara.net!pe1.news.blueyonder.co.uk!blueyonder!fe3.news.blueyonder.co.uk.POSTED!53ab2750!not-for-mail
References: <pan.2007.05.03.11.40.26.188353@Cuppa.tea> <slrnf3jma1.6p4.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2007.05.03.14.52.39.400099@Cuppa.tea>
Subject: Re: Pan and SLRN score files - The difference?
Date: Thu, 03 May 2007 14:52:43 GMT
From: Bob the Burger-Builder <Burger@Build.dur>
References: <pan.2007.05.03.11.40.26.188353@Cuppa.tea> <slrnf3jma1.6p4.pjr@pjr.gotdns.org>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!proxad.net!news.clara.net!wagner.news.clara.net!pe1.news.blueyonder.co.uk!blueyonder!fe3.news.blueyonder.co.uk.POSTED!53ab2750!not-for-mail
Organization: Hicksian Dynamics Unlimited
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table)
Newsgroups: news.software.readers
Reply-To: void@dev.nul
Supersedes: <pan.2007.05.03.14.51.18.602491@Cuppa.tea>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Lines: 53
NNTP-Posting-Host: 82.47.150.87
X-Complaints-To: http://www.virginimedia.com/netreport
X-Trace: fe3.news.blueyonder.co.uk 1178203963 82.47.150.87 (Thu,
NNTP-Posting-Date: Thu, 03 May 2007 15:52:43 BST