Categories
Uncategorized

Replace ^M

Using Emacs

Esc-x, replace-string Ctrl-q, Ctrl-M, Enter, Enter

Using the terminal

sed -e “s/^M//” filename > newfilename