replacing ^M with emacs

Peter A. Giessel pgiessel at
Fri Oct 27 19:39:50 UTC 2006

On 2006/10/27 11:26, Noah seems to have typed:
> How might I get emacs to search replace

Put a mark right before the character (control-space) move to right
after the character and cut the character (control-w).  Move to the top
of the document (esc-<) and start a "query replace" (esc-%).  Yank in
the character that you previously cut (control-y).  Hit return (or enter)
type in the character that you want to replace the ^M with, hit return
(or enter) again.  Enter "y" or "n" for each case...

More information about the freebsd-questions mailing list