dos2unix in emacs

M-% C-q C-m [RETURN] [RETURN]

M-% is bound to (query-replace). C-q is bound to (quoted-insert), which allows C-m to insert the control character ^M.

Published 4 May 2013
Tagged emacs.

 

This page was generated at 4:16 PM on 26 Feb 2018.
Copyright © 1999 - 2018 Rodney Waldhoff.