From: Michelle Konzack
Sent: Saturday, August 27, 2005 4:53 AM
[..]
SUB=`formail -zX Subject: |mimedecode |tr -ds '[\n\t\r]' ' '`
[...]
which works. The shell has eaten the \.
Please note from my previous reply:
It turns out that -d and -s don't work well together because
once the character is deleted, it can't be checked for
multiple suppression and translation.
Thus, if 'tr' is our tool of choice that a dual pipeline
is needed:
tr -d '\n' | tr -s '[[:space:]]' ' '
sed, perl, and other tools can likely be coaxed into doing
this in a single step.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail