procmail
[Top] [All Lists]

(no subject)

2001-06-06 15:12:10

The last paragraph of the DESCRIPTION section of "man procmailsc"
says:

    A certain condition can contribute to  the  score  if  you
    allocate  it a `weight' (w) and an `exponent' (x).  You do
    this by preceding the condition (on the same line) with:
           w^x
    Whereas  both  w  and   x   are   real   numbers   between
                                      ^^^^
                                      ^^^^
    -2147483647.0 and 2147483647.0.

Is it true that *_real_* numbers are supported, (and not just
integers)?

The reason for the question is that:

:0
* 1.23^0 something
* 4.56^0 somethingelse
{
    SCORE=$=
    #
    :0 wfh
    | formail -A "X-SCORE: $SCORE"
}

will always have an integer in the X-SCORE: header field, (or does it
truncate it, or round it?)

        Thanks,

        John

-- 

John Conover        Tel. 408.370.2688  conover(_at_)rahul(_dot_)net
631 Lamont Ct.      Fax. 408.379.9602  http://www.johncon.com/
Campbell, CA 95008  Cel. 408.772.7733  

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