Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2006 16:32:52 -0700
From:      Darrin Chandler <dwchandler@stilyagin.com>
To:        Noah <admin2@enabled.com>
Cc:        "Peter A. Giessel" <pgiessel@mac.com>, freebsd-questions@freebsd.org
Subject:   Re: replacing ^M with emacs
Message-ID:  <20061027233252.GZ23706@zloy.stilyagin.com>
In-Reply-To: <45429451.3040706@enabled.com>
References:  <45425D61.6030209@enabled.com> <4542607E.8020101@mac.com> <45429451.3040706@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@stilyagin.com   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061027233252.GZ23706>