🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243685

Re: bug in /usr/share/slrn/contrib/cleanscore

#243685
From: Ignatios Souvatzis
Date: Fri, 10 Dec 2010 14:14
27 lines
2127 bytes
Adam Funk wrote: 
> On 2010-12-10, Ignatios Souvatzis wrote:
...
>>> While I agree that this should be anchored at line start... what about
>>> the if (/Scores:/i) and the if (/\#EOF... and friends in the same loop?
>
> They should probably be fixed too!  I just haven't come across any
> rules containing those strings in my own scorefile yet.
>
>
>> Actually, /^Expires is wrong. According to scores.txt, whitespace is
>> allowed before the keywords. I'd suggest something like
>>
>> if (/^[ 	]*Expires:/i) (that is: [ space tab ] ), but have to 
>> check whether slang regular expressions use that syntax.
>
> How about
> #v+
>   if  (/^\s*Expires:/i)
> #v-
>
> (The cleanscore program is written in Perl, where \s matches any
> whitespace character.)

Ugh. My fault, yes, cleanscore is not written in slang. :-)

	-is
Technical Details
Message-ID: <slrnig4df2.bhi.u502sou@marie.beverly.kleinbus.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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!195.71.90.67.MISMATCH!news.unit0.net!weretis.net!feeder4.news.weretis.net!news.wtal.de!news.tal.de!beverly.kleinbus.org!not-for-mail
References: <p32ds7xrs5.ln2@news.ducksburg.com> <slrnig42e6.pd.ignatios@einstein.cs.uni-bonn.de> <slrnig443f.bhi.u502sou@marie.beverly.kleinbus.org> <p1n9t7xmc9.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnig4df2.bhi.u502sou@marie.beverly.kleinbus.org>
Subject: Re: bug in /usr/share/slrn/contrib/cleanscore
Date: Fri, 10 Dec 2010 15:14:58 +0100
From: Ignatios Souvatzis <u502sou@beverly.kleinbus.org>
References: <p32ds7xrs5.ln2@news.ducksburg.com> <slrnig42e6.pd.ignatios@einstein.cs.uni-bonn.de> <slrnig443f.bhi.u502sou@marie.beverly.kleinbus.org> <p1n9t7xmc9.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.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!195.71.90.67.MISMATCH!news.unit0.net!weretis.net!feeder4.news.weretis.net!news.wtal.de!news.tal.de!beverly.kleinbus.org!not-for-mail
Newsgroups: news.software.readers
Organization: TAL.DE and customers
Lines: 27
NNTP-Posting-Host: beverly.kleinbus.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.wtal.de 1291991405 10092 213.240.180.139 (10 Dec 2010 14:30:05
 GMT)
X-Complaints-To: abuse@tal.de
NNTP-Posting-Date: 10 Dec 2010 14:30:05 GMT
User-Agent: slrn/0.9.9p1 (NetBSD)