🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Lan Sun, 27 Dec 1998 00:00
grep on mac? help please! MT newswatcher 2.4.4
#45578
Author: Lan
Date: Sun, 27 Dec 1998 00:00
20 lines
1169 bytes
I want to get replied to my posts hilited.

My newsgroup reader has filters, one of which can test for reference headers.


I am using 2 trial filters.

one tests for any reference ending with "-pool.dircon.co.uk"

and another uses grep format, its not the standard grep format, but some
people who use MT newswatcher might have done this, and suceeded already.


its "asdfg[0-z]pool.dircon.co.uk"

without quotes of course.

neither works! I dont know why. Has anyone got this to work?

Re: grep on mac? help please! MT newswatcher 2.4.4
#45586
Author: Lan
Date: Sun, 27 Dec 1998 00:00
11 lines
866 bytes
ok I fixed it now.


a work around


i used regular expression "asdfg[^�]*pool.dircon.co.uk"

"not" function instead.

Re: grep on mac? help please! MT newswatcher 2.4.4
#45592
Author: Lan
Date: Mon, 28 Dec 1998 00:00
43 lines
2472 bytes
gberigan@cse.unl.edu (Greg Berigan) wrote:


>> neither works! I dont know why. Has anyone got this to work?

>Because neither of these match the message IDs you generate.  For example,
>the ID of the above quoted message was:

Yes, I was wondering why tho. 0 (nought)- Z (zed) was the right thing,
according to the mac ascii char codes I looked at.

>    <asdfg-2712982219230001@bh-cw33-037.pool.dircon.co.uk>

>If you take out the hyphen in the first filter or change your regex filter
>so that it allows letters, numbers, hyphens, periods, and the at-sign
>(i.e. "[-0-9A-Za-z.@]*" instead of "[0-z]") or just anything
>("asdfg-.*\.pool\.dircon\.co\.uk", where .* matches zero or more instances
>of any characters) then that one would work.

Ok thats it. You make a better help file than mr Simmon fraser does ;)


>Or you could try matching IDs that start with "asdfg-", but the regex
>would match only your articles through your ISP rather than another asdfg
>munger, and wouldn't match all articles identified as sent through the
>dircon modem pool.

yes, that makes sense too.

actually it looks slightly ugly, but at least it hasnt failed so far. I
would want something a bit more aesthetic, but I think its beyond MT
newswatcher.

-- 
http://falcon.nji.com/~vera is a good site by a 22 year old female.

That Feminism could mean equality is a lie. The support of feminism
is about the destruction of reality itself. An insult to reason and
to stamp out all that is good. Its path will not stop until it has
destroyed itself and anything else around it. Luckily for most people
feminists are also stupid and uncreative. ICQ: 26027485

Re: grep on mac? help please! MT newswatcher 2.4.4
#45595
Author: Lan
Date: Mon, 28 Dec 1998 00:00
39 lines
2281 bytes
phenix@interpath.com (John Moreno) wrote:

>Lan <asdfg@zxcv.net> wrote:
>
>> gberigan@cse.unl.edu (Greg Berigan) wrote:
>> 
>> 
>> >> neither works! I dont know why. Has anyone got this to work?
>> 
>> >Because neither of these match the message IDs you generate.  For example,
>> >the ID of the above quoted message was:
>> 
>> Yes, I was wondering why tho. 0 (nought)- Z (zed) was the right thing,
>> according to the mac ascii char codes I looked at.
>> 
>> >    <asdfg-2712982219230001@bh-cw33-037.pool.dircon.co.uk>
>
>
>Zero to Z covers just the a to z,A to Z and 0 to 9 range, it doesn't
>cover the dash.  A better expression would be
>"asdfg-[^>]pool.dircon.co.uk".

Right, thanks.

Yeah, I did the "not" function as well, before i got the answer to why my
original trial didnt work. But with a high character instead of a >.
Unforntunately the effect of the filter looks rather ugly. Well, I
suceeded anyway, thanks for the help.

-- 
http://falcon.nji.com/~vera is a good site by a 22 year old female.

That Feminism could mean equality is a lie. The support of feminism
is about the destruction of reality itself. An insult to reason and
to stamp out all that is good. Its path will not stop until it has
destroyed itself and anything else around it. Luckily for most people
feminists are also stupid and uncreative. ICQ: 26027485

Re: grep on mac? help please! MT newswatcher 2.4.4
#45597
Author: John Moreno
Date: Mon, 28 Dec 1998 00:00
24 lines
1546 bytes
Lan <asdfg@zxcv.net> wrote:

> gberigan@cse.unl.edu (Greg Berigan) wrote:
> 
> 
> >> neither works! I dont know why. Has anyone got this to work?
> 
> >Because neither of these match the message IDs you generate.  For example,
> >the ID of the above quoted message was:
> 
> Yes, I was wondering why tho. 0 (nought)- Z (zed) was the right thing,
> according to the mac ascii char codes I looked at.
> 
> >    <asdfg-2712982219230001@bh-cw33-037.pool.dircon.co.uk>


Zero to Z covers just the a to z,A to Z and 0 to 9 range, it doesn't
cover the dash.  A better expression would be
"asdfg-[^>]pool.dircon.co.uk".

-- 
John Moreno

Re: grep on mac? help please! MT newswatcher 2.4.4
#45602
Author: Greg Berigan
Date: Mon, 28 Dec 1998 00:00
44 lines
2454 bytes
collection60%hotmail.com@pool.dircon.co.uk (Lan) wrote:

> I want to get replied to my posts hilited.
> 
> My newsgroup reader has filters, one of which can test for reference headers.
> 
> 
> I am using 2 trial filters.
> 
> one tests for any reference ending with "-pool.dircon.co.uk"
> 
> and another uses grep format, its not the standard grep format, but some
> people who use MT newswatcher might have done this, and suceeded already.
> 
> 
> its "asdfg[0-z]pool.dircon.co.uk"
> 
> without quotes of course.
> 
> neither works! I dont know why. Has anyone got this to work?

Because neither of these match the message IDs you generate.  For example,
the ID of the above quoted message was:

    <asdfg-2712982219230001@bh-cw33-037.pool.dircon.co.uk>

If you take out the hyphen in the first filter or change your regex filter
so that it allows letters, numbers, hyphens, periods, and the at-sign
(i.e. "[-0-9A-Za-z.@]*" instead of "[0-z]") or just anything
("asdfg-.*\.pool\.dircon\.co\.uk", where .* matches zero or more instances
of any characters) then that one would work.

Or you could try matching IDs that start with "asdfg-", but the regex
would match only your articles through your ISP rather than another asdfg
munger, and wouldn't match all articles identified as sent through the
dircon modem pool.

-- 
         ,=<#)-=#  <http://incolor.inetnebr.com/wotw/> (The War of the Worlds)
    ,_--//--_,
 _-~_-(####)-_~-_  "Did you see that Parkins boy's body in the tunnels?" "Just
(#>_--'~--~`--_<#)  the photos.  Worst thing I've ever seen; kid had no face."

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