I'm dead tired from a bunch of other scripting I've been doing
recently. I'm hoping someone else might already have a blank line compressor?
Something whereby multiple blank lines (such as the above) might be
compressed down to at most 2 or 3 blank lines, to retain spacing flavour in
a message, while still compressing the dead space. Preferrably, this would
include whitespaces that might appear on the lines as well. Importantly, I
don't want to take multiple spaces, if they might happen to have a
character on the line, and compress them in any way, since this would
butcher ascii graphics and other manually spaced elements. Just want to
operate on blank lines.
Also, something to trim ALL blanks which might trail a message.
Minimal overhead is preferred - this is taking place on list processing for
a lot of messages each day across multiple mailing lists.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail