procmail
[Top] [All Lists]

limiting a score's growth

1997-09-28 06:54:34
I'm trying to figure out how to code a scoring recipe of "each match
adds $weight, the score will not exceed $max".  If I understand the
procmailsc man page correctly, I have to compute x each time from $max
and $weight (x = 1 - (w/m)).  Is there an easier/better way?

   Dan
------------------- message is author's opinion only ------------------
J. Daniel Smith <DanS(_at_)bristol(_dot_)com>        
http://www.bristol.com/~DanS
Bristol Technology B.V.                   +31 33 450 50 50, ...51 (FAX)
Amersfoort, The Netherlands               {info,jobs}(_at_)bristol(_dot_)com

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