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?
How can I convert a DOS text file to Unix text file, so I can use my Linux parser properly? | ||||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.
|
dos2unix is a tool for converting line endings (I'm guessing doc txt was a typo?). | |||
|
feedback
|
|
On Debian-derived (Ubuntu, etc) systems, you want the On RedHat-derived systems (RHEL, Centos, Fedora, etc), you want the | |||
|
feedback
|
|
If you mean "how do I convert a plain-text file in DOS format to a plain-text file in UNIX format", try the dos2unix command. | |||
feedback
|
|
Here's an explanation of how to use antiword to extract the text. | |||
|
feedback
|
|
Do you mean: You want to convert Windows text files into Linux text files? If yes: There's a utility | |||
|
feedback
|