Am 2005-04-04 17:01:02, schrieb Dallman Ross:
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]' ' '
I had tried this, but without success...
The \n do only work, if I put it into $'\n'
(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.
OK, I have no experience with 'tr' because I alway use 'sed' :-)
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
procmail mailing list Procmail homepage: http://www.procmail.org/