bug-anubis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-anubis] GNU Anubis 4.0 released.


From: Paolo
Subject: Re: [bug-anubis] GNU Anubis 4.0 released.
Date: Sun, 2 Jan 2005 14:50:56 +0100
User-agent: Mutt/1.3.28i

On Sun, Jan 02, 2005 at 12:36:29PM +0200, Sergey Poznyakoff wrote:
> Paolo <address@hidden> wrote:
> 
> >  -- Command: modify [FLAGS] body `['KEY`]'
> >      Removes all occurrences of KEY from the message body.  For
> >      example, this statement will remove every occurrence of the word
> >      `old':
> > 
> >           modify body ["old"]
> > 
> 
> Then I don't understand why did you call it 'non-working'. It does
> exactly what it is supposed to do.

oh, well, maybe - you know, I didn't try exactly ["old"], 'cauz I need
to remove "[[:blank:]]*X-Anomy.*", as you know by now ;)
Then, with the following line (18) in .anubisrc

modify body :perl ["\s*X-Anomy.*"]

I get in the trace

> [12135] Reading user configuration file /home/prel/.anubisrc...
[12135] /home/prel/.anubisrc:18: missing replacement value
> [12135] Getting remote host information...

and then _all_ 'X-Anomy.*' lines in transferred msg

CLIENT >>> (2)
SERVER <<< (2)
CLIENT >>> X-Anomy:-----------------------------------------------------
SERVER <<< X-Anomy:-----------------------------------------------------
CLIENT >>> X-Anomy: Originale: unnamed.html(34)
SERVER <<< X-Anomy: Originale: unnamed.html(34)

hence for me this means that the example construct in the info is 
'not-working', unless I misinterpreted the info, and it's actually meant 
as limited to the case of an implied :ex clause - useless to me anyway, 
as I need it for any legit regex KEY.


-- 
 paolo
 
 GPG/PGP id:0x21426690 kfp:EDFB 0103 A8D8 4180 8AB5  D59E 9771 0F28 2142 6690
 "Indeed, it does come with warranty: it *will* fail, sometimes, somehow..."
                                                           - software vendor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]