dos to unix CR/LF conversion?

David J Patrick davidjpatrick-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Sun Nov 9 02:49:11 UTC 2003


Max Blanco wrote:

>Hi all,
>
>I can't locate a tool using "man" to translate from dos ^m to unix ^m^r 
>(or whatever) on the command line.
>
>Anyone know if such a utility exists?  If so, how do I invoke it?
>
>I'm not interested in reinventing any wheels.
>
>thanks,
>max.
>
>
>--
>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
>
>  
>
when fishing around looking for "man you-don't-exactly-know-what" try 
apropos.
it's a tool to help you locate programs on your system whose names you 
don't know.
for example try "apropos dos" or "apropos translate" or "apropos crlf" 
on the command line.

apropos dos (on my system) spits out 25+ suggestions, including;
tofrodos (1) [todos] - Converts text files between DOS and Unix formats.
unix2dos (1)         - Converts text files between DOS and Unix formats.
djp


--
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