remove ^M
dog 2004-07-08 08:58:04 hello,
I want to remove ^M in my file.how to use sed to do it?I tried that
sed -e 's/^M//g' yel.dat > new.dat
but failed.
I edited yel.dat in window, ^M appears at end of each line.I can do it in other way,but I want to learn sed.