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
One way using GNU coreutils:
GNU coreutils
< file.txt tr -d '\r'