replacing ^M with emacs

Peter A. Giessel pgiessel at
Fri Oct 27 23:46:56 UTC 2006

On 2006/10/27 15:30, Noah seems to have typed:
> where is the logic here?

Logic?  I thought we were using emacs here?  just kidding... (mostly)

> What is control-q for

As Giorgos posted earlier:
> The important trick here is that you use C-q to 'quote' the C-m
> character in the substitution string :)

so then its just a matter of knowing the character for newline:

> what is control-j for?

The character for new line.  Which, if you are using the Xwindows
version of emacs, it gives you the shortcut in the "Minibuf" menu for
new line when you start a query...

More information about the freebsd-questions mailing list