Tuesday, August 6, 2013

Removing DOS Carriage Return in Linux

This shows up as "^M" in some editors, and can cause some scripts to fail.

To fix it, install the package "dos2unix". Available in at the minimum RedHat and Ubuntu based distros.

No comments:

Post a Comment