🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by houghi Tue, 24 Mar 2009 08:58
[slrn] Killfiling google groups
#231729
Author: houghi
Date: Tue, 24 Mar 2009 08:58
15 lines
1715 bytes
I would like to killfile all first postings of google groups. Killfiling
all of them is easy. However I would only like to killfile new postings
and not replies. That way I would get rid of most of the spam and still
vieuw most of the people posting.

I will miss thos posting a question, but to me that is worth it.

So what is the best way of doing this?

houghi
-- 
First we thought the PC was a calculator. Then we found out how to turn
numbers into letters with ASCII and we thought it was a typewriter. Then
we discovered graphics, and we thought it was television. With the World
Wide Web, we've realized it's a brochure. -- Douglas Adams.
Re: [slrn] Killfiling google groups
#231728
Author: Troy Piggins
Date: Tue, 24 Mar 2009 09:31
24 lines
2071 bytes
* houghi wrote :
> I would like to killfile all first postings of google groups. Killfiling
> all of them is easy. However I would only like to killfile new postings
> and not replies. That way I would get rid of most of the spam and still
> vieuw most of the people posting.
>
> I will miss thos posting a question, but to me that is worth it.
>
> So what is the best way of doing this?

This will kill first posts by GG, but not followups by GG, and
has some exceptions you can add to:

Score: =-9999 % GG scores
Message-ID: .+googlegroups\.com>$
~References: .+
{:
  ~From: poster_i_like
  ~Subject: slrn
}


-- 
Troy Piggins
Re: [slrn] Killfiling google groups
#231730
Author: houghi
Date: Tue, 24 Mar 2009 15:05
22 lines
1861 bytes
Troy Piggins wrote:
> This will kill first posts by GG, but not followups by GG, and
> has some exceptions you can add to:
>
> Score: =-9999 % GG scores
> Message-ID: .+googlegroups\.com>$
> ~References: .+
> {:
>   ~From: poster_i_like
>   ~Subject: slrn
> }

Thanks for that. Where can I find some explanation on the ".+" part? I
assume that it somehow defines what comes after it and then uses that
when used later. Is that correct?

houghi
-- 
First we thought the PC was a calculator. Then we found out how to turn
numbers into letters with ASCII and we thought it was a typewriter. Then
we discovered graphics, and we thought it was television. With the World
Wide Web, we've realized it's a brochure. -- Douglas Adams.
Re: [slrn] Killfiling google groups
#231732
Author: Martin Trautmann
Date: Tue, 24 Mar 2009 16:12
21 lines
1928 bytes
On Tue, 24 Mar 2009 16:05:16 +0100, houghi wrote:
>  Troy Piggins wrote:
> > This will kill first posts by GG, but not followups by GG, and
> > has some exceptions you can add to:
> >
> > Score: =-9999 % GG scores
> > Message-ID: .+googlegroups\.com>$
> > ~References: .+
> > {:
> >   ~From: poster_i_like
> >   ~Subject: slrn
> > }
> 
>  Thanks for that. Where can I find some explanation on the ".+" part? I
>  assume that it somehow defines what comes after it and then uses that
>  when used later. Is that correct?

. is the wildcard for any character,
+ is the repetition of one or more of the previous character.

Re: [slrn] Killfiling google groups
#231733
Author: houghi
Date: Tue, 24 Mar 2009 16:30
27 lines
2141 bytes
Martin Trautmann wrote:
>> > Score: =-9999 % GG scores
>> > Message-ID: .+googlegroups\.com>$
>> > ~References: .+
>> > {:
>> >   ~From: poster_i_like
>> >   ~Subject: slrn
>> > }
>> 
>>  Thanks for that. Where can I find some explanation on the ".+" part? I
>>  assume that it somehow defines what comes after it and then uses that
>>  when used later. Is that correct?
>
> . is the wildcard for any character,
> + is the repetition of one or more of the previous character.

OK. Now I do understand. I was thinking that the + refered to whatever
came after it. It looks instead at what is in front of it.

Thanks for the explanation.

houghi
-- 
First we thought the PC was a calculator. Then we found out how to turn
numbers into letters with ASCII and we thought it was a typewriter. Then
we discovered graphics, and we thought it was television. With the World
Wide Web, we've realized it's a brochure. -- Douglas Adams.
Re: [slrn] Killfiling google groups
#231737
Author: Justin C
Date: Tue, 24 Mar 2009 21:37
35 lines
2171 bytes
In article <20090324192818@usenet.piggo.com>, Troy Piggins wrote:
> * houghi wrote :
>> I would like to killfile all first postings of google groups. Killfiling
>> all of them is easy. However I would only like to killfile new postings
>> and not replies. That way I would get rid of most of the spam and still
>> vieuw most of the people posting.
>>
>> I will miss thos posting a question, but to me that is worth it.
>>
>> So what is the best way of doing this?
> 
> This will kill first posts by GG, but not followups by GG, and
> has some exceptions you can add to:
> 
> Score: =-9999 % GG scores
> Message-ID: .+googlegroups\.com>$
> ~References: .+
> {:
>   ~From: poster_i_like
>   ~Subject: slrn
> }

I had something like the first part in my KF but removed it because
there were a few 'poster_i_like's whose posts I kept killing.

Please excuse me if I'm hard of understanding. Can you add more than one
poster_i_like to the above? If so, is it a repeat of the ~From: line? Or
multiple names on one ~From: line?

Thank you for any help you can give.

   Justin.

-- 
Justin C, by the sea.
Re: [slrn] Killfiling google groups
#231743
Author: Troy Piggins
Date: Tue, 24 Mar 2009 22:42
54 lines
3265 bytes
* Justin C wrote :
> In article <20090324192818@usenet.piggo.com>, Troy Piggins wrote:
>> * houghi wrote :
>>> I would like to killfile all first postings of google groups. Killfiling
>>> all of them is easy. However I would only like to killfile new postings
>>> and not replies. That way I would get rid of most of the spam and still
>>> vieuw most of the people posting.
>>>
>>> I will miss thos posting a question, but to me that is worth it.
>>>
>>> So what is the best way of doing this?
>> 
>> This will kill first posts by GG, but not followups by GG, and
>> has some exceptions you can add to:
>> 
>> Score: =-9999 % GG scores
>> Message-ID: .+googlegroups\.com>$
>> ~References: .+
>> {:
>>   ~From: poster_i_like
>>   ~Subject: slrn
>> }
>
> I had something like the first part in my KF but removed it because
> there were a few 'poster_i_like's whose posts I kept killing.
>
> Please excuse me if I'm hard of understanding. Can you add more than one
> poster_i_like to the above? If so, is it a repeat of the ~From: line? Or
> multiple names on one ~From: line?
>
> Thank you for any help you can give.

Just add more ~From: lines in the parenthesis.  The ":" after the
Score and opening { means "and", so the below means apply the
score to any posts with GG Message-ID, AND has no references (so
it's not a followup, AND { is not posted my a poster I like1, AND
is not posted by poster I like2, ..., AND does not have subjects
I like}.

Score: =-9999 % GG scores
Message-ID: .+googlegroups\.com>$
~References: .+
{:
  ~From: poster_i_like1
  ~From: poster_i_like2
  ~From: poster_i_like3
  ~From: poster_i_like4
  ~Subject: slrn
  ~Subject: subject i like 1
  ~Subject: another subject i like
}

-- 
Troy Piggins
Re: [slrn] Killfiling google groups
#231745
Author: Troy Piggins
Date: Tue, 24 Mar 2009 22:47
30 lines
2387 bytes
* houghi wrote :
> Troy Piggins wrote:
>> This will kill first posts by GG, but not followups by GG, and
>> has some exceptions you can add to:
>>
>> Score: =-9999 % GG scores
>> Message-ID: .+googlegroups\.com>$
>> ~References: .+
>> {:
>>   ~From: poster_i_like
>>   ~Subject: slrn
>> }
>
> Thanks for that. Where can I find some explanation on the ".+" part? I
> assume that it somehow defines what comes after it and then uses that
> when used later. Is that correct?

As someone posted, the "." is a wildcard for any character.
That's why you should escape dots in domain names with "\" else
you could match something like this message id:
<fred@googlegroupsXcom>
(Unlikely I know, but better to be certain)

The "+" means one or more instances of the preceding pattern (in
this case, the wildcard).

The "$" means end of line.

-- 
Troy Piggins
Re: [slrn] Killfiling google groups
#231851
Author: Justin C
Date: Thu, 26 Mar 2009 23:19
35 lines
2071 bytes
In article <20090325083852@usenet.piggo.com>, Troy Piggins wrote:

[snip]

> 
> Just add more ~From: lines in the parenthesis.  The ":" after the
> Score and opening { means "and", so the below means apply the
> score to any posts with GG Message-ID, AND has no references (so
> it's not a followup, AND { is not posted my a poster I like1, AND
> is not posted by poster I like2, ..., AND does not have subjects
> I like}.
> 
> Score: =-9999 % GG scores
> Message-ID: .+googlegroups\.com>$
> ~References: .+
> {:
>   ~From: poster_i_like1
>   ~From: poster_i_like2
>   ~From: poster_i_like3
>   ~From: poster_i_like4
>   ~Subject: slrn
>   ~Subject: subject i like 1
>   ~Subject: another subject i like
> }

Oh, that is *ever* so useful. Thank you. 

I have some understanding of regexs, but it seems there are a variety of
different implementations. slrn doesn't seem to be quite the same as
perl.

   Justin.

-- 
Justin C, by the sea.
Re: [slrn] Killfiling google groups
#231886
Author: Adam Funk
Date: Fri, 27 Mar 2009 12:30
55 lines
2475 bytes
On 2009-03-26, Justin C wrote:

> In article <20090325083852@usenet.piggo.com>, Troy Piggins wrote:

>> Score: =-9999 % GG scores
>> Message-ID: .+googlegroups\.com>$
>> ~References: .+
>> {:
>>   ~From: poster_i_like1
>>   ~From: poster_i_like2
>>   ~From: poster_i_like3
>>   ~From: poster_i_like4
>>   ~Subject: slrn
>>   ~Subject: subject i like 1
>>   ~Subject: another subject i like
>> }
>
> Oh, that is *ever* so useful. Thank you. 
>
> I have some understanding of regexs, but it seems there are a variety of
> different implementations. slrn doesn't seem to be quite the same as
> perl.

Another thing that can be confusing at first is the subtle use of
colons in the score rules.

Score: -99   % this is an "and" match
     From: Bob
     Subject: stuff

Score:: -99  % this is an "or" match
     From: Fred
     Subject: guff

And as seen above, you can negate individual conditions and nest
them.  HTH.


Anyone know if you can negate a brace-group?

Score: +99
   From: Alice
   ~{::
      Subject: rant
      Subject: drivel
   }


(Yes, I realize you can knock the negations down a level with De
Morgan's laws.  I'm just curious.)


-- 
Unix is a user-friendly operating system. It's just very choosy about
its friends.
Re: [slrn] Killfiling google groups
#231938
Author: Peter J Ross
Date: Sat, 28 Mar 2009 16:12
16 lines
2029 bytes
In news.software.readers on Thu, 26 Mar 2009 23:19:43 -0000, Justin C
<justin.0903@purestblue.com> wrote:

> I have some understanding of regexs, but it seems there are a variety of
> different implementations. slrn doesn't seem to be quite the same as
> perl.

This may be of some use to you:
<http://pjr.lasnobberia.net/usenet/pcre-slrn.html>


-- 
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: [slrn] Killfiling google groups
#231940
Author: Justin C
Date: Sat, 28 Mar 2009 19:58
17 lines
1751 bytes
In article <slrngssj2i.frq.pjr@pjr.gotdns.org>, Peter J Ross wrote:
> In news.software.readers on Thu, 26 Mar 2009 23:19:43 -0000, Justin C
> <justin.0903@purestblue.com> wrote:
> 
>> I have some understanding of regexs, but it seems there are a variety of
>> different implementations. slrn doesn't seem to be quite the same as
>> perl.
> 
> This may be of some use to you:
> <http://pjr.lasnobberia.net/usenet/pcre-slrn.html>

Of some use, and some interest. Thank you.

   Justin.

-- 
Justin C, by the sea.
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