On Mon, Apr 04, 2005 at 04:24:52PM +0200, Michelle Konzack wrote:
I decode it with:
formail -zX Subject: |mimedecode |\
tr -d $'\t' |tr -d $'\n' |tr -d $'\r' |\
sed "s,\ \ , ,g"
which works quiet well... :-)
Crimeney, but that is ugly.
I can't figure out what the $'s are for in there. But anyway,
maybe something like this would work instead:
| tr -ds '[\n\t\r]' ' '
(From "man tr":)
-s The -s option squeezes multiple occurrences of the characters
listed in the last operand (either string1 or string2) in the
input into a single instance of the character. This occurs after
all deletion and translation is completed.
--
dman
____________________________________________________________
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