[lug] File conversion question

Chip Atkinson chip at pupman.com
Thu Nov 18 17:30:53 MST 2004


There are two commands that are probably what you are looking for:
unix2dos 
and 
dos2unix

Chip

On Thu, 18 Nov 2004, Paul E Condon wrote:

> I have come into the posession of a large number of text files
> that have a ^M where there should be a \n character. What is the
> 'well known' trick for conversion to UNIX-tradition format using
> POSIX commands? 
> 
> I don't think I ever knew this, so I won't pretend to have forgotten.
> 
> TIA
>  
> -- 
> Paul E Condon           
> pecondon at mesanetworks.net
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 




More information about the LUG mailing list