procmail
[Top] [All Lists]

Re: continue scoring in next recipe (fwd)

2002-01-18 18:45:43
On Fri, 18 Jan 2002, Professional Software Engineering wrote:

At 16:56 2002-01-18 -0600, David W. Tamkin did say:
Sean wrote,

| Why not use the arithmetic expressions afforded to you by a good bourne
| type shell?

Because it involves invoking a shell for something that procmail can do
without help.

Please provide an example of this.

Assuming $myscore has been properly initialized, placing the following
after each "real" recipe that computes a score should do it:

        recipe_score=$=

        :0
        * $ $myscore^0
        * $ $recipe_score^0
        { myscore=$= }



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