To convert a DOS text file (end-of-line = ^M^J) to a Unix text file (end-of-line = ^J).
# apt-get install sysutils (if using Debian)
$ dos2unix dosfile
Comments are closed.