procmail
[Top] [All Lists]

Re: multiply by -1

2005-07-06 22:38:08
Gary Funck wrote:

boring but effective:

VAR="-$VAR"
:0
* VAR ?? ^--\/.*
{
VAR=$MATCH
}

Was the goal to negate the value of $VAR, or to subtract $VAR from the 
score?

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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