Hello Bart,
Am 2005-04-04 08:12:34, schrieb Bart Schaefer:
On Apr 4, 2005 8:01 AM, Dallman Ross <dman(_at_)nomotek(_dot_)com> wrote:
On Mon, Apr 04, 2005 at 04:24:52PM +0200, Michelle Konzack wrote:
tr -d $'\t' |tr -d $'\n' |tr -d $'\r' |\
Crimeney, but that is ugly.
"Crimony" :-)
I can't figure out what the $'s are for in there.
That's POSIX shell syntax. A dollar sign followed by a single quote
indicates that the following string up to the matching single quote is
to have C string interpretation applied with respect to backslashes
etc. (It's not *exactly* C syntax, but close enough.)
OK, previously I have used tr -d $'\t' |tr -d $'\n' |tr -d $'\r'
which was working fine, but
now I have tried td -ds '[\n\t\r]' ' '
which does not work.
My try to use td -ds $'[\n\t\r]' ' '
ends in a error message
Any suggestions ?
Greetings
Michelle
--
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/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail