procmail
[Top] [All Lists]

Re: Odd behavior or incorrect recipe?

2002-04-18 20:01:45
On Thu, 18 Apr 2002 the voices made Mike Loiterman write:

The output looks like this:
04/18/02 21:14 <t2mads2w018.fsf>

When I want it to look like this:
04/18/02 21:14 -4.2 <t2mads2w018.fsf>

        :0
        * ^Message-ID: *\/[^    ].*
                { MEID=$MATCH }
        :0
        * ^X-Spam-Status: *\/[^    ].*
                { SSTAT=$MATCH }
        SSTAT=`echo "$SSTAT" | cut -d' ' -f2 | tr -dc "0-9.-"`
        DATE=`date +"%m/%d/%y %H:%M"`
        nada=`echo $DATE $SSTAT $MEID >> $HOME/email-scores`


        /Tony
-- 
 +--------------------------------------------------------------------+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 | Genom kunskap mot frihet! =*= (c) 1999-2002 tony(_at_)svanstrom(_dot_)org 
=*= |
 +--------------------------------------------------------------------+

_______________________________________________
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>