On Mon, 20 Jan 2003, Vineet Mehta wrote:

> $cat filename | tr '\n\r' ' ' > newfilename

uhuh? is that what tr does?

try this:

echo '\n' | tr '\n\r' ' '
echo 'hello\nworld\r!' | tr '\n\r ' '

hmmm... is that what you mean to do?

Philip

-- 
Good night, Mrs. Calabash, wherever you are.



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to