Possible Duplicate:
Convert CRLF's to line feeds on Linux
How can I convert a DOS text file to Unix text file, so I can use my Linux parser properly?
Possible Duplicate:
Convert CRLF's to line feeds on Linux
How can I convert a DOS text file to Unix text file, so I can use my Linux parser properly?
On Debian-derived (Ubuntu, etc) systems, you want the tofrodos package, which provides the commands todos and fromdos. (fromdos is the one you are looking for.)
On RedHat-derived systems (RHEL, Centos, Fedora, etc), you want the dos2unix package, which provides the commands dos2unix and mac2unix. To convert in the other direction, you'll want the unix2dos package, which provides the unix2dos command.
Do you mean: You want to convert Windows text files into Linux text files? If yes: There's a utility dos2unix that will do the job for you.