replacing ^M with emacs

Darrin Chandler dwchandler at
Fri Oct 27 23:33:10 UTC 2006

On Fri, Oct 27, 2006 at 04:20:49PM -0700, Noah wrote:
> this is the best answer.  Hits it right on the head of what I want.  
> What if I want the character to replace the ^M with a new line what do I 
> enter in the replace field?

The nice thing about that method is that it'll work for odd characters
when you don't know what they are.

For simple things like ^M you can always use ^Q^M to produce an actual
^M when doing the query-replace stuff.

Darrin Chandler            |  Phoenix BSD Users Group
dwchandler at   |  |

More information about the freebsd-questions mailing list