Thread View: news.software.readers
28 messages
28 total messages
Started by sl
Wed, 05 Feb 2003 18:46
slrn scorefile
Author: sl
Date: Wed, 05 Feb 2003 18:46
Date: Wed, 05 Feb 2003 18:46
16 lines
1442 bytes
1442 bytes
I had the info...but when I reinstalled, I lost a bunch of stuff (never ever burn an important CD without testing it!!). I want to filter out articles that contain "yenc" or "yEnc" or "Yenc" in the subject line. But somehow I can't seem to find the option for finding the word anywhere in the subject, only the one for it being first on the line. How exactly do I need to lay this out for it to find that word, with no capital sensitivity, anywhere in the subject-line? Thanks! sl
Re: slrn scorefile
Author: SINNER
Date: Wed, 05 Feb 2003 19:19
Date: Wed, 05 Feb 2003 19:19
27 lines
2147 bytes
2147 bytes
While strolling through news.software.readers, sl was overheard plotting: > > I had the info...but when I reinstalled, I lost a bunch of stuff (never ever > burn an important CD without testing it!!). > > I want to filter out articles that contain "yenc" or "yEnc" or "Yenc" in the > subject line. But somehow I can't seem to find the option for finding the > word anywhere in the subject, only the one for it being first on the line. > > How exactly do I need to lay this out for it to find that word, with no > capital sensitivity, anywhere in the subject-line? > > > Thanks! > sl > [group.name.to.filter] * for all groups Score: -9999 Subject: yenc should do it for you -- David There is no TRUTH. There is no REALITY. There is no CONSISTENCY. There are no ABSOLUTE STATEMENTS. I'm very probably wrong.
Re: slrn scorefile
Author: sl
Date: Wed, 05 Feb 2003 20:21
Date: Wed, 05 Feb 2003 20:21
19 lines
1530 bytes
1530 bytes
In article <7a48h-vl1.ln1@news.gates_of_hell.INVALID>, SINNER wrote: > While strolling through news.software.readers, sl was overheard plotting: > [group.name.to.filter] * for all groups > Score: -9999 > Subject: yenc > > should do it for you > *LoL* So if you leave everything in small letters, it indicates non-caps-sensitive (not that you only want to filter if the word is all in small letters). I never woulda guessed. Thank you for not being snotty about that. :) sl
Re: slrn scorefile
Author: SINNER
Date: Wed, 05 Feb 2003 21:09
Date: Wed, 05 Feb 2003 21:09
29 lines
2224 bytes
2224 bytes
While strolling through news.software.readers, sl was overheard plotting: > In article <7a48h-vl1.ln1@news.gates_of_hell.INVALID>, SINNER wrote: >> While strolling through news.software.readers, sl was overheard plotting: >> [group.name.to.filter] * for all groups >> Score: -9999 >> Subject: yenc >> >> should do it for you >> > > *LoL* > So if you leave everything in small letters, it indicates non-caps-sensitive > (not that you only want to filter if the word is all in small letters). > I never woulda guessed. > > > Thank you for not being snotty about that. :) > > sl No prob, I was just reading regex FAQ and figured that out myself :) -- David Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless. -- Homer Simpson Homer The Vigilante
Re: slrn scorefile
Author: Blinky the Shark
Date: Thu, 06 Feb 2003 01:12
Date: Thu, 06 Feb 2003 01:12
30 lines
2047 bytes
2047 bytes
SINNER wrote: > While strolling through news.software.readers, sl was overheard plotting: >> In article <7a48h-vl1.ln1@news.gates_of_hell.INVALID>, SINNER wrote: >>> While strolling through news.software.readers, sl was overheard plotting: >>> [group.name.to.filter] * for all groups >>> Score: -9999 >>> Subject: yenc >>> should do it for you >> *LoL* >> So if you leave everything in small letters, it indicates non-caps-sensitive >> (not that you only want to filter if the word is all in small letters). >> I never woulda guessed. > No prob, I was just reading regex FAQ and figured that out myself :) Waitaminute. I tought \c was the special character for case sensitivity in Slang regex. IOW: \cBob for Bob but not bob \cbob for bob but not Bob bob for *any* kind of case, anywhere in bob (bob Bob bOb BOb, etc.) -- Blinky Windows Source Code Revealed http://snurl.com/wsource
Re: slrn scorefile
Author: SINNER
Date: Thu, 06 Feb 2003 02:46
Date: Thu, 06 Feb 2003 02:46
43 lines
2692 bytes
2692 bytes
While strolling through news.software.readers, Blinky the Shark was overheard plotting:
> SINNER wrote:
>
>> While strolling through news.software.readers, sl was overheard plotting:
>>> In article <7a48h-vl1.ln1@news.gates_of_hell.INVALID>, SINNER wrote:
>>>> While strolling through news.software.readers, sl was overheard plotting:
>>>> [group.name.to.filter] * for all groups
>>>> Score: -9999
>>>> Subject: yenc
>
>>>> should do it for you
>
>>> *LoL*
>>> So if you leave everything in small letters, it indicates non-caps-sensitive
>>> (not that you only want to filter if the word is all in small letters).
>>> I never woulda guessed.
>
>> No prob, I was just reading regex FAQ and figured that out myself :)
>
> Waitaminute. I tought \c was the special character for case sensitivity
> in Slang regex. IOW:
>
> \cBob for Bob but not bob
> \cbob for bob but not Bob
>
> bob for *any* kind of case, anywhere in bob (bob Bob bOb BOb, etc.)
>
I was just reading regex, not in particular to Slang.
I use
Score: = -100
{
agent
gravity
dialog
}
Not perfect so it just marks them read. Too lazy to look into it :P~
--
David
The trouble with money is it costs too much!
Re: slrn scorefile
Author: SINNER
Date: Thu, 06 Feb 2003 03:09
Date: Thu, 06 Feb 2003 03:09
26 lines
1939 bytes
1939 bytes
While strolling through news.software.readers, SINNER was overheard plotting:
> I use
> Score: = -100
> {
> agent
> gravity
> dialog
> }
>
> Not perfect so it just marks them read. Too lazy to look into it :P~
>
of course what I meant was
Score: -100
Subject: {
agent
gravity
dialog
}
--
David
Do what thou wilt shall be the whole of the Law.
-- Aleister Crowley
Re: slrn scorefile
Author: sl
Date: Thu, 06 Feb 2003 03:24
Date: Thu, 06 Feb 2003 03:24
16 lines
1676 bytes
1676 bytes
In article <slrnb43dje.2hk.no.spam@dora.blinkynet.net>, Blinky the Shark wrote: > Waitaminute. I tought \c was the special character for case sensitivity > in Slang regex. IOW: > > \cBob for Bob but not bob > \cbob for bob but not Bob > > bob for *any* kind of case, anywhere in bob (bob Bob bOb BOb, etc.) > Right. I was looking for the non-case-sensitive. For that situation. And thinking I had to specify it for it to work. And I don't. And now it works. ;) sl
Re: slrn scorefile
Author: SINNER
Date: Thu, 06 Feb 2003 03:30
Date: Thu, 06 Feb 2003 03:30
35 lines
2186 bytes
2186 bytes
While strolling through news.software.readers, SINNER was overheard plotting:
> While strolling through news.software.readers, SINNER was overheard plotting:
>
>> I use
>> Score: = -100
>> {
>> agent
>> gravity
>> dialog
>> }
>>
>> Not perfect so it just marks them read. Too lazy to look into it :P~
>>
> of course what I meant was
>
> Score: -100
> Subject: {
> agent
> gravity
> dialog
> }
>
No, really, *this* is whats in there (I checked this time:
Score: -100
{::
Subject: agent
Subject: gravity
Subject: dialog
}
--
David
Coming soon: Visual Edlin for Windows.
Re: slrn scorefile
Author: Blinky the Shark
Date: Thu, 06 Feb 2003 05:34
Date: Thu, 06 Feb 2003 05:34
39 lines
2025 bytes
2025 bytes
SINNER wrote:
> While strolling through news.software.readers, SINNER was overheard plotting:
>> While strolling through news.software.readers, SINNER was overheard plotting:
>>> I use
>>> Score: = -100
>>> agent
>>> gravity
>>> dialog
>>> Not perfect so it just marks them read. Too lazy to look into it :P~
>> of course what I meant was
>> Score: -100
>> Subject: {
>> agent
>> gravity
>> dialog
> No, really, *this* is whats in there (I checked this time:
> Score: -100
> Subject: agent
> Subject: gravity
> Subject: dialog
Wanna get back to us this weekend on this, SINNER? :)
"News.software.readers can't talk, right now. If you'd like to leave a
message..."
--
Blinky
Windows Source Code Revealed http://snurl.com/wsource
Re: slrn scorefile
Author: J.B. Nicholson-Owens
Date: Thu, 06 Feb 2003 06:32
Date: Thu, 06 Feb 2003 06:32
8 lines
1172 bytes
1172 bytes
SINNER wrote: > Score: -9999 I suggest using =-9999 (or whatever your kill score is) if you intend to kill the article with a single score entry. Subtracting some score might not kill the article because other score entries can affect the article's total score.
Re: slrn scorefile
Author: SINNER
Date: Thu, 06 Feb 2003 15:09
Date: Thu, 06 Feb 2003 15:09
46 lines
2701 bytes
2701 bytes
While strolling through news.software.readers, Blinky the Shark was overheard plotting:
> SINNER wrote:
>
>> While strolling through news.software.readers, SINNER was overheard plotting:
>>> While strolling through news.software.readers, SINNER was overheard plotting:
>
>>>> I use
>>>> Score: = -100
>
>>>> agent
>>>> gravity
>>>> dialog
>
>>>> Not perfect so it just marks them read. Too lazy to look into it :P~
>
>>> of course what I meant was
>
>>> Score: -100
>>> Subject: {
>>> agent
>>> gravity
>>> dialog
>
>> No, really, *this* is whats in there (I checked this time:
>
>> Score: -100
>
>> Subject: agent
>> Subject: gravity
>> Subject: dialog
>
> Wanna get back to us this weekend on this, SINNER? :)
>
> "News.software.readers can't talk, right now. If you'd like to leave a
> message..."
>
THis message is for......oh forget it! i will wait till you guys get
back! BTW thanks for not inviting me :(
:P~
--
David
sillema sillema nika su
Re: slrn scorefile
Author: SINNER
Date: Thu, 06 Feb 2003 15:10
Date: Thu, 06 Feb 2003 15:10
16 lines
1900 bytes
1900 bytes
While strolling through news.software.readers, J.B. Nicholson-Owens was overheard plotting: > SINNER wrote: >> Score: -9999 > > I suggest using =-9999 (or whatever your kill score is) if you intend to > kill the article with a single score entry. Subtracting some score might > not kill the article because other score entries can affect the article's > total score. Thanks J.B, I actually did have the = copy and paste stilll gets me sometimes so I typed it and missed my =. -- David : is not an identifier
Re: slrn scorefile
Author: SINNER
Date: Thu, 06 Feb 2003 15:10
Date: Thu, 06 Feb 2003 15:10
25 lines
2291 bytes
2291 bytes
While strolling through news.software.readers, Dave was overheard plotting:
> On Thu, 06 Feb 2003 03:30:01 GMT, SINNER wrote (third time lucky):
>
>> No, really, *this* is whats in there (I checked this time:
>>
>> Score: -100
>> {::
>> Subject: agent
>> Subject: gravity
>> Subject: dialog
>> }
>
> ... and you just replace 'Subject' with whatever header you want..?
>
> That's shrunk my slrnpull scorefiles. Thanks. :)
>
The ::
means if any of these appear in the subject, score appropriately
--
David
A newspaper is a circulating library with high blood pressure.
-- Arthure "Bugs" Baer
Re: slrn scorefile
Author: SINNER
Date: Thu, 06 Feb 2003 17:59
Date: Thu, 06 Feb 2003 17:59
31 lines
2437 bytes
2437 bytes
While strolling through news.software.readers, Dave was overheard plotting:
> On Thu, 06 Feb 2003 15:10:00 GMT, SINNER wrote:
>
>> The ::
>>
>> means if any of these appear in the subject, score appropriately
>
> So, you can't actually mix the headers with that method?
>
> Something like...
>
> [*]
> Score: =-9999
> {::
> From: <name>
> Subject: <subject>
> [etc...]
> }
>
> It's got to be just one header 'per group'?
>
not really in your example it would say:
If any of these appear in the message score accordingly, I would think
mixing should still work but only ONE must be true for the post to be
scored.
--
David
Visit beautiful Vergas, Minnesota.
Re: slrn scorefile
Author: sl
Date: Fri, 07 Feb 2003 00:46
Date: Fri, 07 Feb 2003 00:46
39 lines
2086 bytes
2086 bytes
In article <g919h-hp5.ln1@news.gates_of_hell.INVALID>, SINNER wrote:
> No, really, *this* is whats in there (I checked this time:
>
> Score: -100
> {::
> Subject: agent
> Subject: gravity
> Subject: dialog
> }
>
Really?
Why the different syntax?
An entry in MY Score file looks like this:
[alt.os.linux.slackware]
Score: =-9999
%Expires:
% Subject: Slackware urgently needs a business plan
From: GP <gipe@u\.know\.what\.videotron\.ca>
% References: <TUnk9\.25023\$aQ2\.587345@weber\.videotron\.net>
% Xref: sn-us alt\.os\.linux\.slackware:98713
% Newsgroup: alt\.os\.linux\.slackware
%EOS
%BOS
%Score created by slrn on Sun Sep 29 23:25:26 2002
...Even subtracting the crap slrn puts in (cuz i use the k command), mine
doesn't look like yours.
??
sl
Re: slrn scorefile
Author: SINNER
Date: Fri, 07 Feb 2003 01:29
Date: Fri, 07 Feb 2003 01:29
62 lines
3114 bytes
3114 bytes
While strolling through news.software.readers, sl was overheard plotting:
> In article <g919h-hp5.ln1@news.gates_of_hell.INVALID>, SINNER wrote:
>> No, really, *this* is whats in there (I checked this time:
>>
>> Score: -100
>> {::
>> Subject: agent
>> Subject: gravity
>> Subject: dialog
>> }
>>
>
> Really?
> Why the different syntax?
The above is a handmade entry
> An entry in MY Score file looks like this:
>
>
which is generated by slrn, any line with a % can be removed, below you
chosse to eliminate a poster, no need for the other stuff. The above
looks for subject about any of the listed newsreaders and marks them
read
>
>
> [alt.os.linux.slackware]
> Score: =-9999
> %Expires:
> % Subject: Slackware urgently needs a business plan
> From: GP <gipe@u\.know\.what\.videotron\.ca>
> % References: <TUnk9\.25023\$aQ2\.587345@weber\.videotron\.net>
> % Xref: sn-us alt\.os\.linux\.slackware:98713
> % Newsgroup: alt\.os\.linux\.slackware
> %EOS
>
> %BOS
> %Score created by slrn on Sun Sep 29 23:25:26 2002
>
>
> ...Even subtracting the crap slrn puts in (cuz i use the k command), mine
> doesn't look like yours.
>
also, BOS/EOS is only needed at the top and bottom of the file i
believe, if at all.
> ??
>
> sl
--
David
When will I learn? The answers to life's problems aren't at the bottom of
a bottle. They're on TV!
-- Homer Simpson
There's No Disgrace Like Home
Re: slrn scorefile
Author: Blinky the Shark
Date: Fri, 07 Feb 2003 01:33
Date: Fri, 07 Feb 2003 01:33
23 lines
1860 bytes
1860 bytes
sl wrote: > Score: =-9999 > %Expires: > % Subject: Slackware urgently needs a business plan > From: GP <gipe@u\.know\.what\.videotron\.ca> > % References: <TUnk9\.25023\$aQ2\.587345@weber\.videotron\.net> > % Xref: sn-us alt\.os\.linux\.slackware:98713 > % Newsgroup: alt\.os\.linux\.slackware > %EOS > %BOS > %Score created by slrn on Sun Sep 29 23:25:26 2002 > ...Even subtracting the crap slrn puts in (cuz i use the k command), mine > doesn't look like yours. If it's just crap, take it out... -- Blinky Windows Source Code Revealed http://snurl.com/wsource
Re: slrn scorefile
Author: Blinky the Shark
Date: Fri, 07 Feb 2003 05:47
Date: Fri, 07 Feb 2003 05:47
11 lines
1496 bytes
1496 bytes
SINNER wrote: > also, BOS/EOS is only needed at the top and bottom of the file i > believe, if at all. Site? -- Blinky Windows Source Code Revealed http://snurl.com/wsource
Re: slrn scorefile
Author: Blinky the Shark
Date: Fri, 07 Feb 2003 06:19
Date: Fri, 07 Feb 2003 06:19
17 lines
1637 bytes
1637 bytes
Blinky the Shark wrote: > SINNER wrote: >> also, BOS/EOS is only needed at the top and bottom of the file i >> believe, if at all. > Site? Please make that "Cite?" Those responsible will be sacked. -- Blinky Windows Source Code Revealed http://snurl.com/wsource
Re: slrn scorefile
Author: Felix Schueller
Date: Fri, 07 Feb 2003 10:52
Date: Fri, 07 Feb 2003 10:52
13 lines
1793 bytes
1793 bytes
At Fri, 07 Feb 2003 01:29:18 GMT, SINNER wrote: > also, BOS/EOS is only needed at the top and bottom of the file i > believe, if at all. slrn doesn't use "BOS/EOS" at all. These tags are for external programs (e.g. cleanscore), because without these tags ist very hard to figure out where one scorefile entry starts/ends (e.g. whether a command befor a Groupexp. ([group.name.*]) belongs to the last or to the next entry.). Bye Felix
Re: slrn scorefile
Author: Felix Schueller
Date: Fri, 07 Feb 2003 11:03
Date: Fri, 07 Feb 2003 11:03
22 lines
1890 bytes
1890 bytes
At Fri, 7 Feb 2003 00:46:16 +0000 (UTC), sl wrote:
>> Score: -100
>> {::
>> Subject: agent
>> Subject: gravity
>> Subject: dialog
>> }
> Really?
> Why the different syntax?
Because he uses grouping (without need). The items within the
parenthesize are evaluated, the results are combine by logical 'or'
(thats what the to colons stand for) and the result of that is treated
as one expression of the higher-level entry.
For more information of slrns scorefile-syntax (and nice examples) just
read the files score.txt and SCORE_FAQ that came with slrn.
Bye
Felix
Re: slrn scorefile
Author: SINNER
Date: Fri, 07 Feb 2003 13:29
Date: Fri, 07 Feb 2003 13:29
23 lines
2266 bytes
2266 bytes
While strolling through news.software.readers, Blinky the Shark was overheard plotting: > Blinky the Shark wrote: > >> SINNER wrote: > >>> also, BOS/EOS is only needed at the top and bottom of the file i >>> believe, if at all. > >> Site? > > Please make that "Cite?" > > Those responsible will be sacked. > cant, but mine only has it top and bottom, havent tried removing them completly. -- David Fortune's real live weird band names #190: Dogfuckers
Re: slrn scorefile
Author: Faux_Pseudo
Date: Sun, 09 Feb 2003 21:03
Date: Sun, 09 Feb 2003 21:03
34 lines
2854 bytes
2854 bytes
_.--- ras2 spoke in news.software.readers --------._
> [*]
> Score: -9999 % global.mmf
> Lines: 140
> ~References: .
> {::
> Message-ID: @posting\.google\.com>
> }
> {::
> Subject: !!!
> Subject: \$\$
> Subject: \<CASH\>
> }
My question on scoring is if there is a way to take this short example
of your entry here but fix it so that if the subject matches "cash" it
checks to see if the word "Johnny" appears on the line and if so then
don't kill the article. But I want a quick way of pulling it off
without creating a whole new entry. And likewise I want one that
does the opposite. For example if it contains "cure" and not "idle
cure".
It seems cumbersome to have a nice long list of something like
band names then have to go in and extract some names and put them in
their own entry because it conflicts with something else.
'---...____ Faux_Pseudo ________________...---~~~
--
ICQ=66618055 : (Now Playing) http://asciipr0n.com/fp updated=10/30
YIM=faux_pseudo : Rev: /iron_maiden/powerslave/05_-_the_duellists.mp3
All limits are : Now: /iron_maiden/roskilde/03_-_Wrathchild.mp3
self imposed : Fwd: Shchedrin_Prologue_from_ballet_Anna_Karenina.mp3
Re: slrn scorefile
Author: J.B. Nicholson-Owens
Date: Mon, 10 Feb 2003 04:46
Date: Mon, 10 Feb 2003 04:46
81 lines
4031 bytes
4031 bytes
Faux_Pseudo wrote:
> [...] if the subject matches "cash" it checks to see if the word "Johnny"
> appears on the line and if so then don't kill the article.
I don't think this approach will get you the maintenance-free scorefile you
desire. You could promote "johnny cash" to a small score that won't trigger
any kind of highlighting:
[*]
Score: 1
Subject: johnny cash
But that means entering in a list of bands or performers and keeping it up
to date. Yuck.
But maybe there aren't many names that conflict with spam words. So
1. "cash" is killed (I'm inferring this) AND
2. "johnny cash" is spared.
There is still some maintenance involved here (yuck). The easy way is just
to kill ("cash" without "johnny cash") and leave "johnny cash" alone:
[*]
Score: =-9999
Subject: cash
~Subject: johnny cash
Focusing on the spam would seem to be the key.
> But I want a quick way of pulling it off without creating a whole new
> entry.
By default the scorefile is functionally empty. I don't know how you're
going to score on anything without making a score entry. What do you mean
here?
> It seems cumbersome to have a nice long list of something like
> band names then have to go in and extract some names and put them in
> their own entry because it conflicts with something else.
Eventually any scoring approach will require maintenance. You're string
searching, after all, and either you focus on band/performer names or spam
strings. But at some point some long list will need to be created. I
figure spam will not change as frequently as band/performer names, so:
[*]
Score: =-9999
Subject: make
{::
Subject: cash
Subject: money
Subject: sex
Subject: girl
SubjecT: hot
Subject: now
Subject: love
Subject: war
Subject: \([][~!$*@()]\)\1\1\1
}
{::
Subject: cash
Subject: money
Subject: sex
Subject: girl
SubjecT: hot
Subject: now
Subject: love
Subject: war
Subject: \([][~!$*@()]\)\1\1\1
}
is a good starting point. It says "make" plus any of the following (cash,
money, now, etc.) twice. The last entry in each set matches 4 or more
neighboring repeats of the same character from the following set of
characters: "]", "[", "~", "!", "$", "*", "@", "(", or ")". I wasn't sure
about using range notation ("\{x[,y]\}"), in slrn so I used regular
expression substring matching ("\1", "\2", "\3", etc.).
Happy newsreading.
Matching on word order in slrn scorefiles
Author: J.B. Nicholson-Owens
Date: Mon, 10 Feb 2003 06:00
Date: Mon, 10 Feb 2003 06:00
14 lines
2029 bytes
2029 bytes
ras2 wrote: > You can't say something like 'kill article if word 1 comes before word 2 > in the subject' [...] In the larger context of your post, you're right--maintaining lists of this (bands, performers, computers, cameras, etc.) or that (spammers, spam subjects, spam newsgroups, etc.) is a pain. In this (admittedly narrow) context, you can match on word order. Subject: \<word1\>.*\<word2\> will match any subject where "word1" comes before "word2".
Re: slrn scorefile
Author: sl
Date: Sun, 16 Feb 2003 18:15
Date: Sun, 16 Feb 2003 18:15
13 lines
1756 bytes
1756 bytes
In article <slrnb4636q.2of.no.spam@dora.blinkynet.net>, Blinky the Shark wrote: > sl wrote: >> ...Even subtracting the crap slrn puts in (cuz i use the k command), mine >> doesn't look like yours. > > If it's just crap, take it out... It helps me remember why I've got a person or thread killfiled in the first place, when I look at it in the future. sl
Re: slrn scorefile
Author: sl
Date: Sun, 16 Feb 2003 18:17
Date: Sun, 16 Feb 2003 18:17
11 lines
1821 bytes
1821 bytes
In article <slrnb474je.dh.fschueller@fschueller.cgn.org>, Felix Schueller wrote: >> Why the different syntax? > Because he uses grouping (without need). The items within the > parenthesize are evaluated, the results are combine by logical 'or' > (thats what the to colons stand for) and the result of that is treated > as one expression of the higher-level entry. There we go! That was the info I wanted, thanks! :) sl
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads