Date: Fri, 27 Oct 2006 16:32:33 -0400 From: Robert Huff <roberthuff@rcn.com> To: freebsd-questions@freebsd.org Subject: Re: replacing ^M with emacs Message-ID: <17730.27873.201100.949852@jerusalem.litteratus.org> In-Reply-To: <4542607E.8020101@mac.com> References: <45425D61.6030209@enabled.com> <4542607E.8020101@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 .... Robert Huff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17730.27873.201100.949852>