procmail
[Top] [All Lists]

Re: Losing $ in MATCH

2004-06-09 21:48:02
Jim Osborn wrote:

Does anyone have a simple way to knock the trailing $ off when it's
there, but only when it is there?

Insert the second condition:

    :0
    * THING ?? ()\/(<.* +.*>|<[^>]*$)
      * MATCH ?? ^\/.+
    {
        LOG = "found: $MATCH
logged on the line above
"
        :0 fwh
        | formail -A "X-Diagnostic: fake Message-ID: $MATCH"
    }


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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