Article View: news.software.readers
Article #217701Re: [SLRNPULL] Script for Marking Replies to Posts
From: Troy Piggins
Date: Wed, 12 Mar 2008 22:56
Date: Wed, 12 Mar 2008 22:56
58 lines
3474 bytes
3474 bytes
* Tom Newton wrote:
> On 2008-03-12, Troy Piggins <usenet-0803@piggo.com> wrote:
>> * Tom Newton wrote:
>>
> <snip>
>> I don't understand. You wrote the above functions and scripts to
>> give a score of 1000 to followups of your posts?
>
> Yes. How could you not understand? The post was very clear.
I didn't understand why you would go to all that trouble when you
could do it all natively within slrn/slrnpull with it's own
scorefile and regular expressions syntax. That comment was
coupled with my suggestion below.
> It was hardly a big deal. Took about two minutes.
And that's 2mins you'll never get back now :)
>> What's wrong with a simple score rule in your score file?
>>
>> [*]
>> Score: =+1000
>> References: <slrn.*tom@treeoflife\.3v8l2x\.net>$
>>
>> Or something like that? The last line is just a pcre.
>>
>> $ man pcre
>> $ man pcrepattern
My bad. Half asleep when I typed this, and confused it with
leafnode which is PCRE. slrn and slang has it's own RE's.
> I see. If that works as well, I'd be a fool not to use it.
>
> Thanks. And thanks to Whiskers, too.
>
> The versatility and adaptability of slrn is still something I
> haven't come to terms with.
Seriously? I thought you had been using it for years.
> Okay I've tested the above and it seems to work fine.
>
> But I think that it is an slang regex, rather than a pcre.
>
> Or is it both in this case? I don't think slrn uses pcre's does it?
Correct. See above.
Excellent article here on the subtleties:
http://pjr.lasnobberia.net/usenet/pcre-slrn.html
--
Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __
|___ | |/ |/ |
___| | | | |
Technical Details
Message-ID:
<20080313084511.318@usenet.piggo.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mailReferences:
<slrnftgcva.opf.tom@treeoflife.3v8l2x.net> <20080313063931.284@usenet.piggo.com> <slrnftgk6m.6im.tom@treeoflife.3v8l2x.net>Show Full Headers
Complete Article Headers
Message-ID: <20080313084511.318@usenet.piggo.com> Subject: Re: [SLRNPULL] Script for Marking Replies to Posts Date: Thu, 13 Mar 2008 08:56:39 +1000 From: Troy Piggins <usenet-0803@piggo.com> References: <slrnftgcva.opf.tom@treeoflife.3v8l2x.net> <20080313063931.284@usenet.piggo.com> <slrnftgk6m.6im.tom@treeoflife.3v8l2x.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 58 Reply-To: usenet-0803@piggo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1+T9s0W4LN1GNeRPkoLiTTTMykfIh3qcjsAZSnkkHsmi/S3Bz/fJxh2+7qqTFA7st8Y62tupGOrZOl7tvx6BPRc7kuWjsGcleNjjPdAhEinPZ4qv6cwrJpIslvBAAuvmGxewZtsQqY3bg== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Wed, 12 Mar 2008 23:01:08 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/SelpT/y9YYXAAx7gWUvYwJs4csLgi8ZPHHl29/BrRMQ== X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) Cancel-Lock: sha1:/e7q0as1jFzUmWqQehFqlsfKkfM= User-Agent: slrn/pre0.9.9-99/rt (Linux)