Same happens in my case meaning that the script does not seem to work for me... What could I have done wrong?
tr -d '\r' < DOS_file > UNIX_file sed 's/^M//' DOS_file > UNIX_file