dos to unix CR/LF conversion?

Kevin Cozens kcozens-qazKcTl6WRFWk0Htik3J/w at public.gmane.org
Sat Nov 8 19:46:46 UTC 2003


At 02:13 PM 11/08/2003 -0500, max wrote:
>I can't locate a tool using "man" to translate from dos ^m to unix ^m^r
>(or whatever) on the command line.

Its the other way round. Unix uses ^r whereas DOS uses ^m^r. You can use 
dos2unix or you can use the 'tr' command.


Cheers!

Kevin.  (http://www.interlog.com/~kcozens/)

Owner of Elecraft K2 #2172        |"What are we going to do today, Borg?"
E-mail:kcozens at interlog dot com|"Same thing we always do, Pinkutus:
Packet:ve3syb at ve3yra.#con.on.ca.na|  Try to assimilate the world!"
#include <disclaimer/favourite>   |              -Pinkutus & the Borg

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list