Thread View: news.software.readers
36 messages
36 total messages
Started by sfb
Thu, 05 Mar 2009 17:40
[slrn] scoring using wildcards
Author: sfb
Date: Thu, 05 Mar 2009 17:40
Date: Thu, 05 Mar 2009 17:40
12 lines
1964 bytes
1964 bytes
Hi everybody. I'm trying to kill a poster who uses numbers in the 'from' part of the header. The numbers change and I was wondering if there was some way of using wildcards in the score file 'from' attribute? I've looked at the documentation and it seems wildcards are only useable in the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't seem to work. Is there a way of using wildcards in the way I would like. Thanks sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: Whiskers
Date: Thu, 05 Mar 2009 18:36
Date: Thu, 05 Mar 2009 18:36
41 lines
2479 bytes
2479 bytes
On 2009-03-05, sfb <sfb@sfb.invalid> wrote:
> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from'
> part of the header. The numbers change and I was wondering if there was
> some way of using wildcards in the score file 'from' attribute? I've
> looked at the documentation and it seems wildcards are only useable in
> the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't
> seem to work. Is there a way of using wildcards in the way I would like.
> Thanks
>
> sfb
Is there an unchanging element in his 'From' headers that is unique enough
to score on? If need be you could use two or more factors to score on
(all from the same header, or from other headers) eg
#v+
%BOS
Score: =-9999 %number-shifting nuisance
From: foo
From: bar
%EOS
#v-
will kill posts where the From headers are of the form
12foo99bar@example.invalid
or
foo2345@bar
(Note the single : after the word Score making the following lines all
logical AND - a double :: would make them logical OR)
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Re: [slrn] scoring using wildcards
Author: Adam Funk
Date: Thu, 05 Mar 2009 19:45
Date: Thu, 05 Mar 2009 19:45
39 lines
2323 bytes
2323 bytes
On 2009-03-05, sfb wrote:
> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from'
> part of the header. The numbers change and I was wondering if there was
> some way of using wildcards in the score file 'from' attribute? I've
> looked at the documentation and it seems wildcards are only useable in
> the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't
> seem to work. Is there a way of using wildcards in the way I would like.
The [newsgroups] bit at the beginning of each stanza uses "*" in the
shell-glob way (I've never tried "?" there).
The patterns to match use s-lang regular expressions (which are
similar enough to Perl-compatible regexes to be helpful most of the
time while still causing occasional confusion). You might want
something like this:
[*]
Score: -99
From: \d+@example\.com
That rule will match anything *in* the From header, not just the
complete e-mail address; for example, it would match
From: A Troll <347@example.com>
From: 7777@example.com (J Troll)
but also
From: Nice Guy <bob4@example.com>
so you might want to play around with it.
--
Do you know what they do to book thieves up at Santa Rita?
http://www.shigabooks.com/indeces/bookhunter.html
Re: [slrn] scoring using wildcards
Author: Troy Piggins
Date: Thu, 05 Mar 2009 19:57
Date: Thu, 05 Mar 2009 19:57
16 lines
2120 bytes
2120 bytes
* sfb wrote : > Hi everybody. I'm trying to kill a poster who uses numbers in the 'from' > part of the header. The numbers change and I was wondering if there was > some way of using wildcards in the score file 'from' attribute? I've > looked at the documentation and it seems wildcards are only useable in > the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't > seem to work. Is there a way of using wildcards in the way I would like. > Thanks Can you give an example of the pattern? And do some other headers stay similar as well? The more general your scoring rules are, the more likely you are to have false positives, unless you can get a combination of multiple headers. -- Troy Piggins
Re: [slrn] scoring using wildcards
Author: sfb
Date: Thu, 05 Mar 2009 20:07
Date: Thu, 05 Mar 2009 20:07
44 lines
2775 bytes
2775 bytes
On 2009-03-05, Whiskers <catwheezel@operamail.com> wrote: > On 2009-03-05, sfb <sfb@sfb.invalid> wrote: >> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from' >> part of the header. The numbers change and I was wondering if there was >> some way of using wildcards in the score file 'from' attribute? I've >> looked at the documentation and it seems wildcards are only useable in >> the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't >> seem to work. Is there a way of using wildcards in the way I would like. >> Thanks >> >> sfb > > Is there an unchanging element in his 'From' headers that is unique enough > to score on? If need be you could use two or more factors to score on > (all from the same header, or from other headers) eg > > #v+ > %BOS > > Score: =-9999 %number-shifting nuisance > > From: foo > From: bar > > %EOS > #v- > > will kill posts where the From headers are of the form > > 12foo99bar@example.invalid > > or > > foo2345@bar > > (Note the single : after the word Score making the following lines all > logical AND - a double :: would make them logical OR) > Thanks Whiskers, that worked perfectly. sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: sfb
Date: Thu, 05 Mar 2009 20:09
Date: Thu, 05 Mar 2009 20:09
45 lines
2928 bytes
2928 bytes
On 2009-03-05, Adam Funk <a24061@ducksburg.com> wrote: > On 2009-03-05, sfb wrote: > >> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from' >> part of the header. The numbers change and I was wondering if there was >> some way of using wildcards in the score file 'from' attribute? I've >> looked at the documentation and it seems wildcards are only useable in >> the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't >> seem to work. Is there a way of using wildcards in the way I would like. > > The [newsgroups] bit at the beginning of each stanza uses "*" in the > shell-glob way (I've never tried "?" there). > > The patterns to match use s-lang regular expressions (which are > similar enough to Perl-compatible regexes to be helpful most of the > time while still causing occasional confusion). You might want > something like this: > > > [*] > Score: -99 > From: \d+@example\.com > > > That rule will match anything *in* the From header, not just the > complete e-mail address; for example, it would match > > From: A Troll <347@example.com> > From: 7777@example.com (J Troll) > > but also > > From: Nice Guy <bob4@example.com> > > so you might want to play around with it. > > Thanks for that Adam Funk. I'm new to slrn and fairly new to Linux. I'll spend some time looking at the s-lang references to see what I can learn. sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: sfb
Date: Thu, 05 Mar 2009 21:41
Date: Thu, 05 Mar 2009 21:41
30 lines
2795 bytes
2795 bytes
On 2009-03-05, Troy Piggins <usenet-0903@piggo.com> wrote: > * sfb wrote : >> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from' >> part of the header. The numbers change and I was wondering if there was >> some way of using wildcards in the score file 'from' attribute? I've >> looked at the documentation and it seems wildcards are only useable in >> the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't >> seem to work. Is there a way of using wildcards in the way I would like. >> Thanks > > Can you give an example of the pattern? And do some other > headers stay similar as well? The more general your scoring > rules are, the more likely you are to have false positives, > unless you can get a combination of multiple headers. > Hi Troy. The particular poster I was trying to kill was on this newsgroup trying to sell watches. I've managed to do it using the method suggested by Whiskers, but thanks for the reply. On a different subject, I set slrn up using a guide on a website called Andrew's Corner of the Web on which he recommended a macro of yours called "create_msg_id.sl. I'd like to try this out, is it still available, please? The link gives a 404 error. Thanks sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: Troy Piggins
Date: Thu, 05 Mar 2009 22:09
Date: Thu, 05 Mar 2009 22:09
16 lines
1939 bytes
1939 bytes
* sfb wrote : >* Troy Piggins wrote : <snip /> > On a different subject, > I set slrn up using a guide on a website called Andrew's Corner of the > Web on which he recommended a macro of yours called "create_msg_id.sl. > I'd like to try this out, is it still available, please? The link gives > a 404 error. Aah, sorry about that. My server died and I'm still rebuilding it. You can get that macro here: http://piggo.com/~troy/slrn/create_msg_id.sl -- Troy Piggins
Re: [slrn] scoring using wildcards
Author: sfb
Date: Thu, 05 Mar 2009 22:14
Date: Thu, 05 Mar 2009 22:14
22 lines
2157 bytes
2157 bytes
On 2009-03-05, Troy Piggins <usenet-0903@piggo.com> wrote: > * sfb wrote : >>* Troy Piggins wrote : ><snip /> >> On a different subject, >> I set slrn up using a guide on a website called Andrew's Corner of the >> Web on which he recommended a macro of yours called "create_msg_id.sl. >> I'd like to try this out, is it still available, please? The link gives >> a 404 error. > > Aah, sorry about that. My server died and I'm still rebuilding > it. You can get that macro here: > > http://piggo.com/~troy/slrn/create_msg_id.sl > Thank you very much, you're a gentleman and a scholar, sir :-) sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: andrew
Date: Thu, 05 Mar 2009 22:45
Date: Thu, 05 Mar 2009 22:45
17 lines
1786 bytes
1786 bytes
On 2009-03-05, Troy Piggins <usenet-0903@piggo.com> wrote: > Aah, sorry about that. My server died and I'm still rebuilding > it. You can get that macro here: > > http://piggo.com/~troy/slrn/create_msg_id.sl I notice that you have gone back a version on that macro and have lost the random number generator. Is that part of a plan or is it all part of the chaos of rebuilding? I hope you have noticed I am still a huge fan of this macro :-). Andrew -- echo 'hfrarg.naqerj@tznvy.pbz' | \ tr 'a-m n-z' 'n-z a-m'
Re: [slrn] scoring using wildcards
Author: andrew
Date: Thu, 05 Mar 2009 22:50
Date: Thu, 05 Mar 2009 22:50
13 lines
1575 bytes
1575 bytes
On 2009-03-05, sfb <sfb@sfb.invalid> wrote: > I set slrn up using a guide on a website called Andrew's Corner of the > Web on which he recommended a macro of yours called "create_msg_id.sl. > I'd like to try this out, is it still available, please? You owe me another $10 Troy :-). Andrew -- echo 'hfrarg.naqerj@tznvy.pbz' | \ tr 'a-m n-z' 'n-z a-m'
Re: [slrn] scoring using wildcards
Author: sfb
Date: Thu, 05 Mar 2009 22:57
Date: Thu, 05 Mar 2009 22:57
24 lines
2088 bytes
2088 bytes
On 2009-03-05, andrew <andrew@skamandros.invalid> wrote: > On 2009-03-05, Troy Piggins <usenet-0903@piggo.com> wrote: > >> Aah, sorry about that. My server died and I'm still rebuilding >> it. You can get that macro here: >> >> http://piggo.com/~troy/slrn/create_msg_id.sl > > I notice that you have gone back a version on that macro and have lost > the random number generator. Is that part of a plan or is it all part of > the chaos of rebuilding? I hope you have noticed I am still a huge fan > of this macro :-). > > Andrew > Yeah, I noticed that as well. I wish I was good enough at that sort of thing to be able to do it myself. One day, maybe :-) Cheers sfb Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: Troy Piggins
Date: Thu, 05 Mar 2009 23:29
Date: Thu, 05 Mar 2009 23:29
24 lines
2412 bytes
2412 bytes
* sfb wrote : > On 2009-03-05, andrew <andrew@skamandros.invalid> wrote: >> On 2009-03-05, Troy Piggins <usenet-0903@piggo.com> wrote: >> >>> Aah, sorry about that. My server died and I'm still rebuilding >>> it. You can get that macro here: >>> >>> http://piggo.com/~troy/slrn/create_msg_id.sl >> >> I notice that you have gone back a version on that macro and have lost >> the random number generator. Is that part of a plan or is it all part of >> the chaos of rebuilding? I hope you have noticed I am still a huge fan >> of this macro :-). > > Yeah, I noticed that as well. I wish I was good enough at that sort of > thing to be able to do it myself. One day, maybe :-) Sorry guys. I've reposted with the 0.9.2 version that does have the random bit: http://piggo.com/~troy/slrn/create_msg_id.sl -- Troy Piggins
Re: [slrn] scoring using wildcards
Author: Troy Piggins
Date: Thu, 05 Mar 2009 23:29
Date: Thu, 05 Mar 2009 23:29
13 lines
1903 bytes
1903 bytes
* andrew wrote : > On 2009-03-05, sfb <sfb@sfb.invalid> wrote: > >> I set slrn up using a guide on a website called Andrew's Corner of the >> Web on which he recommended a macro of yours called "create_msg_id.sl. >> I'd like to try this out, is it still available, please? > > You owe me another $10 Troy :-). I'll send you 10% of everything I make off that macro ;) -- Troy Piggins
There's nothing random in my Message-IDs.
Author: Jeff▲Relf
Date: Thu, 05 Mar 2009 23:42
Date: Thu, 05 Mar 2009 23:42
6 lines
1425 bytes
1425 bytes
There's nothing random in my Message-IDs, for example: news:Jeff_Relf@Seattle.2009_Mar.5|2.09pm|K That's March 5th at 2:09 pm, Seattle time. The “ |K ” is the current fraction ( 1/52 ) of a second expressed in “ base52 ” ( A-Z, a-z ).
Re: [slrn] scoring using wildcards
Author: Sidney Lambe
Date: Fri, 06 Mar 2009 05:29
Date: Fri, 06 Mar 2009 05:29
26 lines
1896 bytes
1896 bytes
sfb <sfb@sfb.invalid> wrote: > Hi everybody. I'm trying to kill a poster who uses numbers in the 'from' > part of the header. The numbers change and I was wondering if there was > some way of using wildcards in the score file 'from' attribute? I've > looked at the documentation and it seems wildcards are only useable in > the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't > seem to work. Is there a way of using wildcards in the way I would like. > Thanks > > sfb I've read the thread and seen that you've receieved all the slrn help you need, but I have a better suggestion: Install leafnode2. It uses PCREs for its filter. You wouldn't believe what a difference having a local newsserver makes; the control it gives you. I use cheap scoring, XOVER, with leafnode to kill most of the articles I don't want to see, and then slrn for giving visible scores to various types of posts and for expensive scoring. http://home.pages.de/~mandree/leafnode/ Sid
Re: [slrn] scoring using wildcards
Author: sfb
Date: Fri, 06 Mar 2009 13:21
Date: Fri, 06 Mar 2009 13:21
39 lines
2880 bytes
2880 bytes
On 2009-03-06, Sidney Lambe <sidneylambe@nospam.invalid> wrote: > sfb <sfb@sfb.invalid> wrote: >> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from' >> part of the header. The numbers change and I was wondering if there was >> some way of using wildcards in the score file 'from' attribute? I've >> looked at the documentation and it seems wildcards are only useable in >> the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't >> seem to work. Is there a way of using wildcards in the way I would like. >> Thanks >> >> sfb > > I've read the thread and seen that you've receieved all the slrn > help you need, but I have a better suggestion: Install leafnode2. > It uses PCREs for its filter. > > You wouldn't believe what a difference having a local newsserver > makes; the control it gives you. > > I use cheap scoring, XOVER, with leafnode to kill most of the > articles I don't want to see, and then slrn for giving visible > scores to various types of posts and for expensive scoring. > > http://home.pages.de/~mandree/leafnode/ > > Sid > Hi Sid. Thanks for the reply. I've thought about Leafnode, but I've wondered what sort of benefit there would be to a single user subscribing to only 6 low traffic groups. There doesn't seem to be much point, unless, of course, you know different. Yours views would be appreciated. Thanks sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: Sidey Lambe
Date: Fri, 06 Mar 2009 17:11
Date: Fri, 06 Mar 2009 17:11
58 lines
3274 bytes
3274 bytes
sfb <sfb@sfb.invalid> wrote: > On 2009-03-06, Sidney Lambe <sidneylambe@nospam.invalid> wrote: > >> sfb <sfb@sfb.invalid> wrote: >> >>> Hi everybody. I'm trying to kill a poster who uses numbers >>> in the 'from' part of the header. The numbers change and I >>> was wondering if there was some way of using wildcards in the >>> score file 'from' attribute? I've looked at the documentation >>> and it seems wildcards are only useable in the [newsgroup] >>> indicator. I've tried the usuals, * and ?, but they don't >>> seem to work. Is there a way of using wildcards in the way I >>> would like. Thanks >>> >>> sfb >> >> I've read the thread and seen that you've receieved all the >> slrn help you need, but I have a better suggestion: Install >> leafnode2. It uses PCREs for its filter. >> >> You wouldn't believe what a difference having a local >> newsserver makes; the control it gives you. >> >> I use cheap scoring, XOVER, with leafnode to kill most of the >> articles I don't want to see, and then slrn for giving visible >> scores to various types of posts and for expensive scoring. >> >> http://home.pages.de/~mandree/leafnode/ >> >> Sid > > Hi Sid. Thanks for the reply. I've thought about Leafnode, but > I've wondered what sort of benefit there would be to a single > user subscribing to only 6 low traffic groups. There doesn't > seem to be much point, unless, of course, you know different. > Yours views would be appreciated. > -- Nil Illegitimus Carborundum Sfb, That's about my situation too. I only subscribe to 8 groups and all of them are low-traffic from my perspective (some because I kill [leave the articles on the server] most of the posts to them). What leafnode gives me is a buffer between the wild usenet and my newsreader, with which I can easily kill any unwanted posts. It allows me to download from several free servers to one newspool so I don't miss any posts. It gives me my own usnet archive because I have disabled expiration. I have every important post on all the groups I subscribe to since I first started accessing the usenet. And I can bring them up instantly on slrn. I can also directly access the newspool for any group and search the articles using non-slrn tools at will. Those would be the main benefits. Sid
Re: [slrn] scoring using wildcards
Author: Sidney Lambe
Date: Fri, 06 Mar 2009 17:29
Date: Fri, 06 Mar 2009 17:29
16 lines
1439 bytes
1439 bytes
Sidey Lambe <sidneylambe@nospam.invalid> wrote: > sfb <sfb@sfb.invalid> wrote: > [delete] > because I have disabled expiration. I have every important post > on all the groups I subscribe to since I first started accessing > the usenet. I should add that many of the earliest ones are still in my slrnpull newspool. I haven't figured out how to get them into the leafnode newspool. [delete] Sid
Re: [slrn] scoring using wildcards
Author: sfb
Date: Fri, 06 Mar 2009 20:42
Date: Fri, 06 Mar 2009 20:42
32 lines
2737 bytes
2737 bytes
> snip < > Sfb, That's about my situation too. I only subscribe to 8 groups > and all of them are low-traffic from my perspective (some because > I kill [leave the articles on the server] most of the posts to them). > > What leafnode gives me is a buffer between the wild usenet and my > newsreader, with which I can easily kill any unwanted posts. It > allows me to download from several free servers to one newspool > so I don't miss any posts. It gives me my own usnet archive > because I have disabled expiration. I have every important post > on all the groups I subscribe to since I first started accessing > the usenet. And I can bring them up instantly on slrn. I can > also directly access the newspool for any group and search the > articles using non-slrn tools at will. > > Those would be the main benefits. > > Sid > Thanks Sid. I see what you mean, but I don't think I need that at the moment. I'm just a newsgroup dabbler, a little look here, a little look there. I don't post much, except when I need some help and most people seem to be more than willing to offer advice and assistance. Should my usage change I'll look at Leafnode again with your comments in mind. Thanks for your help. sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: Peter J Ross
Date: Sat, 07 Mar 2009 00:03
Date: Sat, 07 Mar 2009 00:03
57 lines
3204 bytes
3204 bytes
In news.software.readers on Thu, 05 Mar 2009 11:40:52 -0600, sfb
<sfb@sfb.invalid> wrote:
> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from'
> part of the header. The numbers change and I was wondering if there was
> some way of using wildcards in the score file 'from' attribute?
No. You can use regular expressions but not wildcards. The good news
is that regular expressions are much more powerful than wildcards.
> I've
> looked at the documentation and it seems wildcards are only useable in
> the [newsgroup] indicator.
Correct.
> I've tried the usuals, * and ?, but they don't
> seem to work. Is there a way of using wildcards in the way I would like.
> Thanks
The equivalent of "*" in regular expressions is ".*". The equivalent
of "?" is ".?".
But if you want to match something like
foo123bar@example.com
foo567bar@example.com
and
foo890bar@example.com
try something like
From: foo[0-9]\{3\}bar@example\.com
in your slrn scorefile. Here "[0-9]" means a digit from 0 to 9
inclusive, and "\{3\}" means "exactly three occurences of the '[0-9]'
pattern". If the number of digits varies, you could use something like
From: foo[0-9]\{2,5\}bar@example\.com
where any number of successive digits from 2 to 5 will be matched.
The file score.txt which is included with slrn provides some useful
information and examples, but don't hesitate to ask for more
explanations here. Regular expressions are complicated until you get
used to them, and slrn's regular expressions are particularly
complicated because they're not quite the same as other kinds of
regular expressions.
Have fun with slrn!
--
PJR :-)
slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/
extra slrn documentation: http://slrn-doc.sourceforge.net/
newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: There's nothing random in my Message-IDs.
Author: Peter J Ross
Date: Sat, 07 Mar 2009 00:16
Date: Sat, 07 Mar 2009 00:16
23 lines
2362 bytes
2362 bytes
In news.software.readers on 05 Mar 2009 23:42:37 GMT, Jeff▲Relf <Jeff_Relf@Seattle.TEST> wrote: > There's nothing random in my Message-IDs, for example: > news:Jeff_Relf@Seattle.2009_Mar.5|2.09pm|K > > That's March 5th at 2:09 pm, Seattle time. > The “ |K ” is the current fraction ( 1/52 ) of a second > expressed in “ base52 ” ( A-Z, a-z ). You should ensure that message-id's are likely to be unique even if your system clock is adjusted. There are various acceptable methods for generating message-ids which have stood the test of time, but no doubt you'll be determined to reinvent an inferior version of the wheel as usual. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
slrn is fine, if you can't write your own newsReader.
Author: Jeff▲Relf
Date: Sat, 07 Mar 2009 00:47
Date: Sat, 07 Mar 2009 00:47
22 lines
2112 bytes
2112 bytes
“ You should ensure that message-id's are likely to be unique
even if your system clock is adjusted. ”, you told me.
I can't post if I'm not online,
and when I'm online my clock is Always in sync with:
“ Time-NW.NIST.GOV:123 ” and/or “ Time.Windows.COM:123 ”.
I post a few times per day.
Q. What's the chance I'd hit the same exact fraction of a second ?
A. Slim to none.
Suppose my Message-ID's were not unique .. I, and I alone, would suffer.
slrn is fine, if you can't write your own newsReader.
You concluded:
“ There are various acceptable methods for generating message-ids
which have stood the test of time, but no doubt you'll be
determined to reinvent an inferior version of the wheel as usual. ”.
On its face, your Message-ID is inferior, conveying less info;
I know because I see it ( and worse ) many times each day.
Google Groups should be slapped silly for the crap they call Message-IDs.
Re: [slrn] scoring using wildcards
Author: sfb
Date: Sat, 07 Mar 2009 09:53
Date: Sat, 07 Mar 2009 09:53
62 lines
3616 bytes
3616 bytes
On 2009-03-07, Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Thu, 05 Mar 2009 11:40:52 -0600, sfb
><sfb@sfb.invalid> wrote:
>
>> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from'
>> part of the header. The numbers change and I was wondering if there was
>> some way of using wildcards in the score file 'from' attribute?
>
> No. You can use regular expressions but not wildcards. The good news
> is that regular expressions are much more powerful than wildcards.
>
>> I've
>> looked at the documentation and it seems wildcards are only useable in
>> the [newsgroup] indicator.
>
> Correct.
>
>> I've tried the usuals, * and ?, but they don't
>> seem to work. Is there a way of using wildcards in the way I would like.
>> Thanks
>
> The equivalent of "*" in regular expressions is ".*". The equivalent
> of "?" is ".?".
>
> But if you want to match something like
> foo123bar@example.com
> foo567bar@example.com
> and
> foo890bar@example.com
>
> try something like
>
> From: foo[0-9]\{3\}bar@example\.com
>
> in your slrn scorefile. Here "[0-9]" means a digit from 0 to 9
> inclusive, and "\{3\}" means "exactly three occurences of the '[0-9]'
> pattern". If the number of digits varies, you could use something like
>
> From: foo[0-9]\{2,5\}bar@example\.com
>
> where any number of successive digits from 2 to 5 will be matched.
>
> The file score.txt which is included with slrn provides some useful
> information and examples, but don't hesitate to ask for more
> explanations here. Regular expressions are complicated until you get
> used to them, and slrn's regular expressions are particularly
> complicated because they're not quite the same as other kinds of
> regular expressions.
>
> Have fun with slrn!
>
Hi Peter. Excellent, thank you. I've saved that for future reference.
I'm trying to move away from the handholding that gui clients provide by
using slrn, mutt and vim all of which a streets ahead of the gui
equivalents. It's a bit of a learning curve, but I'll get there :-)
Thanks again.
sfb
--
Nil Illegitimus Carborundum
MIDs [was: [slrn] scoring using wildcards]
Author: andrew
Date: Sat, 07 Mar 2009 10:35
Date: Sat, 07 Mar 2009 10:35
21 lines
1972 bytes
1972 bytes
On 2009-03-07, sfb <sfb@sfb.invalid> wrote: > I'm trying to move away from the handholding that gui clients provide by > using slrn, mutt and vim all of which a streets ahead of the gui > equivalents. It's a bit of a learning curve, but I'll get there :-) Good to see yet another person moving away from the dark side :-). I see you have the newest version of Troy's MID macro in place: Message-ID: <20090307094821.566@sfb.invalid> However I remember being savaged not too long ago for using .invalid in such a MID so at that time I switched to the domain name that I own. (I continue to use .invalid in my 'From:' with a real 'ReplyTo:') You might save yourself a similar working over by considering this option? Andrew -- echo 'hfrarg.naqerj@tznvy.pbz' | \ tr 'a-m n-z' 'n-z a-m'
Re: MIDs [was: [slrn] scoring using wildcards]
Author: sfb
Date: Sat, 07 Mar 2009 11:10
Date: Sat, 07 Mar 2009 11:10
26 lines
2383 bytes
2383 bytes
On 2009-03-07, andrew <andrew@skamandros.invalid> wrote: > On 2009-03-07, sfb <sfb@sfb.invalid> wrote: > >> I'm trying to move away from the handholding that gui clients provide by >> using slrn, mutt and vim all of which a streets ahead of the gui >> equivalents. It's a bit of a learning curve, but I'll get there :-) > > Good to see yet another person moving away from the dark side :-). I see > you have the newest version of Troy's MID macro in place: > > Message-ID: <20090307094821.566@sfb.invalid> > > However I remember being savaged not too long ago for using .invalid in > such a MID so at that time I switched to the domain name that I own. (I > continue to use .invalid in my 'From:' with a real 'ReplyTo:') You might > save yourself a similar working over by considering this option? > > Andrew > Hi Andrew, thanks for the information. I've changed the message id appropriately. Who's going to win the Ashes? -- Nil Illegitimus Carborundum
Re: MIDs [was: [slrn] scoring using wildcards]
Author: andrew
Date: Sat, 07 Mar 2009 12:20
Date: Sat, 07 Mar 2009 12:20
11 lines
1533 bytes
1533 bytes
On 2009-03-07, sfb <sfb@sfb.invalid> wrote: > Who's going to win the Ashes? Hmmmm.... could you remind me of the score in the 2006-2007 series? Andrew -- echo 'hfrarg.naqerj@tznvy.pbz' | \ tr 'a-m n-z' 'n-z a-m'
Re: MIDs [was: [slrn] scoring using wildcards]
Author: sfb
Date: Sat, 07 Mar 2009 12:41
Date: Sat, 07 Mar 2009 12:41
19 lines
2311 bytes
2311 bytes
On 2009-03-07, andrew <andrew@skamandros.invalid> wrote: > On 2009-03-07, sfb <sfb@sfb.invalid> wrote: > >> Who's going to win the Ashes? > > Hmmmm.... could you remind me of the score in the 2006-2007 series? > > Andrew > Alright, alright, rub it in, why don't you :-) I think you're right, to be honest. I think Strauss will make changes to the attitude of the England team, but we've been mired in the negative of 'don't lose, it doesn't matter if you don't win, but don't lose' for so long that it will take some time to effect. I've got a ticket for the 1 dayer at the Oval in September which I'm looking forward to. -- Nil Illegitimus Carborundum
Re: MIDs [was: [slrn] scoring using wildcards]
Author: Whiskers
Date: Sat, 07 Mar 2009 13:50
Date: Sat, 07 Mar 2009 13:50
29 lines
2652 bytes
2652 bytes
On 2009-03-07, sfb <sfb@sfb.invalid> wrote: > On 2009-03-07, andrew <andrew@skamandros.invalid> wrote: >> On 2009-03-07, sfb <sfb@sfb.invalid> wrote: >> >>> Who's going to win the Ashes? >> >> Hmmmm.... could you remind me of the score in the 2006-2007 series? >> >> Andrew >> > Alright, alright, rub it in, why don't you :-) I think you're right, to > be honest. I think Strauss will make changes to the attitude of the > England team, but we've been mired in the negative of 'don't lose, it > doesn't matter if you don't win, but don't lose' for so long that it > will take some time to effect. > I've got a ticket for the 1 dayer at the Oval in September which I'm > looking forward to. I hope international cricket returns to Pakistan very soon; otherwise the terrorists gain a victory which the peaceful majority of the world can ill afford. I now have a curious image of a Taleban team touring the West Indies; now that would be something to see! -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: MIDs [was: [slrn] scoring using wildcards]
Author: sfb
Date: Sat, 07 Mar 2009 14:47
Date: Sat, 07 Mar 2009 14:47
34 lines
3134 bytes
3134 bytes
On 2009-03-07, Whiskers <catwheezel@operamail.com> wrote: > On 2009-03-07, sfb <sfb@sfb.invalid> wrote: >> On 2009-03-07, andrew <andrew@skamandros.invalid> wrote: >>> On 2009-03-07, sfb <sfb@sfb.invalid> wrote: >>> >>>> Who's going to win the Ashes? >>> >>> Hmmmm.... could you remind me of the score in the 2006-2007 series? >>> >>> Andrew >>> >> Alright, alright, rub it in, why don't you :-) I think you're right, to >> be honest. I think Strauss will make changes to the attitude of the >> England team, but we've been mired in the negative of 'don't lose, it >> doesn't matter if you don't win, but don't lose' for so long that it >> will take some time to effect. >> I've got a ticket for the 1 dayer at the Oval in September which I'm >> looking forward to. > > I hope international cricket returns to Pakistan very soon; otherwise the > terrorists gain a victory which the peaceful majority of the world can ill > afford. > > I now have a curious image of a Taleban team touring the West Indies; now > that would be something to see! > So do I. Hopefully it will be a wake up call to get the authorities, both civil and cricket, to take the threat seriously. I saw a news article recently where a team from Afghanistan had moved to the next stage of the World Cup, so your image may come true one day :-) -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: sfb
Date: Sun, 08 Mar 2009 09:57
Date: Sun, 08 Mar 2009 09:57
23 lines
1939 bytes
1939 bytes
On 2009-03-06, Sidney Lambe <sidneylambe@nospam.invalid> wrote: > Sidey Lambe <sidneylambe@nospam.invalid> wrote: >> sfb <sfb@sfb.invalid> wrote: >> > [delete] >> because I have disabled expiration. I have every important post >> on all the groups I subscribe to since I first started accessing >> the usenet. > > I should add that many of the earliest ones are still in my > slrnpull newspool. I haven't figured out how to get them into > the leafnode newspool. > > [delete] > > Sid > Hi Sid. Why did you change from slrnpull to Leafnode? sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: Sidney Lambe
Date: Sun, 08 Mar 2009 13:51
Date: Sun, 08 Mar 2009 13:51
28 lines
1979 bytes
1979 bytes
sfb <sfb@sfb.invalid> wrote: > On 2009-03-06, Sidney Lambe <sidneylambe@nospam.invalid> wrote: >> Sidey Lambe <sidneylambe@nospam.invalid> wrote: >>> sfb <sfb@sfb.invalid> wrote: >>> >> [delete] >>> because I have disabled expiration. I have every important post >>> on all the groups I subscribe to since I first started accessing >>> the usenet. >> >> I should add that many of the earliest ones are still in my >> slrnpull newspool. I haven't figured out how to get them into >> the leafnode newspool. >> >> [delete] >> >> Sid >> > Hi Sid. Why did you change from slrnpull to Leafnode? Slrnpull can only deal with one server. Leafnode can deal with many, integrating all the posts into a single newspool. That's the main reason. There are lesser ones, like the ability to limit which groups are fetched/posted to on each server. Sid
Re: [slrn] scoring using wildcards
Author: sfb
Date: Sun, 08 Mar 2009 14:42
Date: Sun, 08 Mar 2009 14:42
26 lines
2499 bytes
2499 bytes
On 2009-03-08, Sidney Lambe <sidneylambe@nospam.invalid> wrote: > sfb <sfb@sfb.invalid> wrote: >> On 2009-03-06, Sidney Lambe <sidneylambe@nospam.invalid> wrote: >>> Sidey Lambe <sidneylambe@nospam.invalid> wrote: >>>> sfb <sfb@sfb.invalid> wrote: >>>> >>> [delete] >>> >> Hi Sid. Why did you change from slrnpull to Leafnode? > > Slrnpull can only deal with one server. Leafnode can deal with > many, integrating all the posts into a single newspool. > > That's the main reason. There are lesser ones, like the ability > to limit which groups are fetched/posted to on each server. > > Sid > Hi Sid. Ok, thanks. I'm only using 1 server at the moment which is provided by my isp. It seems to be ok for the few groups that I browse. There are no binary groups available, but that doesn't bother me. sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: Sidney Lambe
Date: Sun, 08 Mar 2009 22:40
Date: Sun, 08 Mar 2009 22:40
41 lines
2727 bytes
2727 bytes
sfb <sfb@sfb.invalid> wrote: > On 2009-03-08, Sidney Lambe <sidneylambe@nospam.invalid> wrote: >> sfb <sfb@sfb.invalid> wrote: >>> On 2009-03-06, Sidney Lambe <sidneylambe@nospam.invalid> wrote: >>>> Sidey Lambe <sidneylambe@nospam.invalid> wrote: >>>>> sfb <sfb@sfb.invalid> wrote: >>>>> >>>> [delete] >>>> >>> Hi Sid. Why did you change from slrnpull to Leafnode? >> >> Slrnpull can only deal with one server. Leafnode can deal with >> many, integrating all the posts into a single newspool. >> >> That's the main reason. There are lesser ones, like the ability >> to limit which groups are fetched/posted to on each server. >> >> Sid >> > Hi Sid. Ok, thanks. I'm only using 1 server at the moment which is > provided by my isp. It seems to be ok for the few groups that I browse. > There are no binary groups available, but that doesn't bother me. There are quite a few read-only and free usenet servers that carry only text groups out there. And a lot interesting private newsservers. Google those subjects if you get a little spare time. I subscribe to one of the former and two of the latter, plus the wonderful x-privat free server. Some posts just don't make it to x-privat for some reason, and the other server picks them up. But slrn sees only only one newspool, even though some of the groups are not found anywhere on the usenet. As for binary groups, I couldn't agree with you more. That's not the usenet, that's a file-sharing network that should go away and call itself something else. They hog most of the bandwidth and dirty the real usenet's reputation. Sid
Re: [slrn] scoring using wildcards
Author: sfb
Date: Mon, 09 Mar 2009 18:46
Date: Mon, 09 Mar 2009 18:46
52 lines
3636 bytes
3636 bytes
On 2009-03-08, Sidney Lambe <sidneylambe@nospam.invalid> wrote: > sfb <sfb@sfb.invalid> wrote: >> On 2009-03-08, Sidney Lambe <sidneylambe@nospam.invalid> wrote: >>> sfb <sfb@sfb.invalid> wrote: >>>> On 2009-03-06, Sidney Lambe <sidneylambe@nospam.invalid> wrote: >>>>> Sidey Lambe <sidneylambe@nospam.invalid> wrote: >>>>>> sfb <sfb@sfb.invalid> wrote: >>>>>> >>>>> [delete] >>>>> >>>> Hi Sid. Why did you change from slrnpull to Leafnode? >>> >>> Slrnpull can only deal with one server. Leafnode can deal with >>> many, integrating all the posts into a single newspool. >>> >>> That's the main reason. There are lesser ones, like the ability >>> to limit which groups are fetched/posted to on each server. >>> >>> Sid >>> >> Hi Sid. Ok, thanks. I'm only using 1 server at the moment which is >> provided by my isp. It seems to be ok for the few groups that I browse. >> There are no binary groups available, but that doesn't bother me. > > There are quite a few read-only and free usenet servers that > carry only text groups out there. And a lot interesting private > newsservers. Google those subjects if you get a little spare > time. > > I subscribe to one of the former and two of the latter, plus the > wonderful x-privat free server. Some posts just don't make it to > x-privat for some reason, and the other server picks them up. > But slrn sees only only one newspool, even though some of the groups > are not found anywhere on the usenet. > > As for binary groups, I couldn't agree with you more. That's not > the usenet, that's a file-sharing network that should go away and > call itself something else. They hog most of the bandwidth and > dirty the real usenet's reputation. > > Sid > Hi Sid, Thanks for the reply, I've had a look at x-privat and it seems good. I don't need it at the moment, but it's worth keeping in mind for the future. Cheers sfb -- Nil Illegitimus Carborundum
Re: [slrn] scoring using wildcards
Author: Dragomir Kollaric
Date: Mon, 09 Mar 2009 18:57
Date: Mon, 09 Mar 2009 18:57
24 lines
2159 bytes
2159 bytes
On 2009-03-05, Troy Piggins hit the keyboard and wrote: > * andrew wrote : >> On 2009-03-05, sfb <sfb@sfb.invalid> wrote: >> >>> I set slrn up using a guide on a website called Andrew's Corner of the >>> Web on which he recommended a macro of yours called "create_msg_id.sl. >>> I'd like to try this out, is it still available, please? >> >> You owe me another $10 Troy :-). > > I'll send you 10% of everything I make off that macro ;) Them darn capitalists thinking only about making money :-) :-) :-) > Dragomir Kollaric -- Q: Have you ever heard voices when no one else was there? A: Yes. From the radio. From the television. From the telephone. <1234641050_83@vo.lu> as found on alou
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