procmail
[Top] [All Lists]

Re: subject processing

1997-07-04 08:58:00
era eriksson <era(_at_)iki(_dot_)fi> wrote:
    :0fhw
    * ^\/Subject:[    ]*((re|fw|sv|betr|antw)( ?[[][0-9]+])?[-:>][    ]*)+
    | ... some suitable program which does essentially \
      sed "s/^$MATCH/Subject: /"

That is not quite what he wanted because he wished ones with an Re:
in the subject to continue to have an Re: in the subject. And sed
will not find a match when trying "^Subject: Re[4]: Re: " against
"Subject: Re[4]: Re: ". [] are metacharacters remember.

I like Perl too, but I would probably get strangled by my admin if I

With dynamic loading it doesn't seem that bad. On my machine:

        SIZE    RSS     COMMAND         (version)
         984    372     procmail        3.10
        1488    592     perl            5.004
        1644    768     procmail        3.11pre7 with perlembed

Both of the perl things there are linked with libperl.so. All three
of them where started with no arguments and ^Z'ed immediately.

Elijah
------
Please do not CC me when replying to the list.  It is not my responsibility to
prove to you my mail is not spam, if mail to you bounces it will not be resent.

<Prev in Thread] Current Thread [Next in Thread>