replacing ^M with emacs
Noah
admin2 at enabled.com
Fri Oct 27 23:21:11 UTC 2006
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?
cheers,
Noah
Peter A. Giessel wrote:
> 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