How to replace ^M characters from a file using perl
by Mahdi Sajjadpour
From the command line, do:
perl -pi -e "s/\cM//g" file_name
Copyright by
techTips