procmail
[Top] [All Lists]

Re: multiply by -1

2005-07-07 02:36:55
On Thu, Jul 07, 2005 at 12:35:06AM -0500, David W. Tamkin wrote:
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?

The latter.

-- 
dman

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