Article View: news.software.readers
Article #126868Re: [slrn] not applying Xnews generated score file
From: DC
Date: Mon, 23 Jun 2003 04:20
Date: Mon, 23 Jun 2003 04:20
81 lines
4311 bytes
4311 bytes
On Mon, 23 Jun 2003 02:44:41 GMT, ras2 <removethis@gmx.net> wrote: > On 2003-06-23 00:07:50 GMT, DC <dcmoose@myrealbox.com> > wrote in <bd5gcm$p8i07$2@ID-120562.news.dfncis.de>: >> On Sun, 22 Jun 2003 23:25:38 GMT, ras2 <removethis@gmx.net> wrote: >>> On 2003-06-22 22:51:52 GMT, DC <dcmoose@myrealbox.com> >>> wrote in <bd5bu7$peip2$1@ID-120562.news.dfncis.de>: >>> >>>> If I add a scoring rule with slrn, it gets appended to my existing >>>> News/Score file and is applied properly. Any rules that I had defined >>>> using Xnews are seemingly ignored. >>> >>> I don't know if it matters to slrn, but you could check the line endings; >>> they're probably in DOS format. >> >> I'll bet they are. I never thought of that. Is there a quick way to >> convert the line feed codes in plain text files? > > er, several, but I can never remember them. Your editor may have an option > to change them. OK, I'll dig a bit. >>>> I did a test of this using an article from this group. I currently have >>>> a rule under [^news\.software\.readers$], but when I create a new rule, >>>> it (slrn) generates the new heading [news.software.readers] and does not >>>> reuse the existing one. >>> >>> Well, that's what it always does. >> >> Doesn't that lead to *huge* scorefiles? > > If you just use "k" from within slrn and never edit the scorefile > manually, they do get huge. > > [ras@vampire in ~] > # wc -l slrnpull/score > 3168 slrnpull/score Yikes! > The first 2573 lines are ordered (no unnecessary lines and grouped > under newsgroup and score type), the rest I haven't had time to sort > yet. > >> Is that efficient? Surely, this must slow down the scoring process? > > Not noticeably, but it is pretty annoying. I've always wanted to make a > script that could sort things properly and put similar scores together > to save space and to make the file easier to maintain, but I don't have > the skills for that. That would be useful, no doubt. I'll keep an eye out for something like that. >>> Xnews uses PCRE (or something like it), so the two systems aren't >>> entirely compatible; any rule that uses | for OR won't work in >>> slrn (yet). I suspect some escapes may be different too. >> >> So, if I understand you correctly, everywhere that I have used a pipe to >> separate expressions (to indicate OR) must now be placed on seperate >> lines? > > Right. slrn has grouping as a kind of workaround, but you do have to > use a lot of extra lines (and it'll likely be less accurate too). > >> Whoa! I've go *tons* of those, which I used to condense my >> scorefile. > > Maybe you should save a backup of the Xnews file; we should get PCRE > at some point and I assume that those ORs will work then (although > maybe not exactly the same way they do in Xnews). Thanks for your reply. Very helpful. }:O) Cheers, -- DC Don't get Longhorned -- get Linux.
Technical Details
Message-ID:
<bd5v6n$pac7a$4@ID-120562.news.dfncis.de>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!peer2.news.opaltelecom.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!hsdbmj64-110-247-174.sasknet.sk.CA!not-for-mailReferences:
<bd5bu7$peip2$1@ID-120562.news.dfncis.de> <slrnbfcemt.im.removethis@gmx.net> <bd5gcm$p8i07$2@ID-120562.news.dfncis.de> <slrnbfcq1t.1dn.removethis@gmx.net>Show Full Headers
Complete Article Headers
Message-ID: <bd5v6n$pac7a$4@ID-120562.news.dfncis.de> Subject: Re: [slrn] not applying Xnews generated score file Date: Mon, 23 Jun 2003 04:20:40 +0000 From: DC <dcmoose@myrealbox.com> References: <bd5bu7$peip2$1@ID-120562.news.dfncis.de> <slrnbfcemt.im.removethis@gmx.net> <bd5gcm$p8i07$2@ID-120562.news.dfncis.de> <slrnbfcq1t.1dn.removethis@gmx.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!peer2.news.opaltelecom.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!hsdbmj64-110-247-174.sasknet.sk.CA!not-for-mail Newsgroups: news.software.readers Organization: http://dcicons.tripod.com Lines: 80 NNTP-Posting-Host: hsdbmj64-110-247-174.sasknet.sk.ca (64.110.247.174) X-Trace: fu-berlin.de 1056342040 26554602 64.110.247.174 (16 [120562]) X-Operating-System: Mandrake Linux 9.1 (Kernel 2.4.21) X-Face: XeDX9&%4f9R)csZS0JIM0Ne.|`vvPz[UB=~c]D?!fG]wUmdd#f8?r6]FO^jaB],lsfc]|D+5yTMG44pK]\-y"7|xW"7tAEfrHp+p(y;,k!f4ovAe9QxEk\YO&BE5k~$)OGxU@7DH--E|G0rO@ckJm^29d*EjPd5 User-Agent: slrn/0.9.7.4 (Linux)