replacing ^M with emacs
roberthuff at rcn.com
Fri Oct 27 20:32:43 UTC 2006
Peter A. Giessel writes:
> 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...
Or if you're feeling lucky, type '!' and it will do them all
More information about the freebsd-questions