I have found that many of my files have DOS line endings. In VI they look like this: \"^M\".
I don\'t want to modify files that don\'t have these DOS line endings. How do
The above example would take a MS-DOS or Microsoft Windows file or other file with different line separators and format the file with new line separators to be read in Linux and Unix.