Convert a DOS text file (end-of-line = ^M^J) to a Unix text file (end-of-line = ^J).
# apt-get install sysutils $ dos2unix dosfile