procmail
[Top] [All Lists]

Re: Reto's multiplication

2004-01-26 23:59:19
David W. Tamkin wrote:

<> or for that matter, we can compress the entire code sample into one recipe:
<> 
<> MULTIPLIER=10
<> 
<> :0
<> * $ -$MULTIPLIER^1 B ?? [$wsp]
<> * $ 1^1 B ?? [$alpha]
<> {
<>  #do_something
<> }

Yep. I started down this path and something diverted me (I'm gonna
blame the telemarketer (Do Not Call, hah), although I think that was
before I began working on this recipe).  You're right, this is much
better. Thanks David & Ruud!

I want to do some experimenting to see how valid the space:alpha
assumption is if you apply it to an HTML MIME part as well as a
plaintext part. I would prefer to shove the whole message through the
recipe, rather than having to extract the plain text or de-tag an HTML
part.

I kinda like the checksumming idea gus had as well, but I'm going to
play with this ratio idea a little more before I explore that one.

Reto
-- 
R A Lichtensteiger      rali(_at_)tifosi(_dot_)com

     "Education is a better safeguard of liberty than a standing army."
                                                - Edward Everett

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail