Need to remove all those ^M characters from a DOS file?

Need to remove all those ^M characters from a DOS file? Try

tr -d \ \r < dosfile > newfile

(No space between two slashes.)

0 Responses to “Need to remove all those ^M characters from a DOS file?”


Comments are currently closed.