From owner-freebsd-questions@FreeBSD.ORG Fri Oct 27 23:33:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E08AF16A407 for ; Fri, 27 Oct 2006 23:33:09 +0000 (UTC) (envelope-from dwc@stilyagin.com) Received: from puffy.asicommunications.com (puffy.asicommunications.com [216.9.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 946D443D45 for ; Fri, 27 Oct 2006 23:33:09 +0000 (GMT) (envelope-from dwc@stilyagin.com) Received: from zloy.stilyagin.com (71-35-24-28.phnx.qwest.net [71.35.24.28]) by puffy.asicommunications.com (8.13.4/8.13.3) with ESMTP id k9RNWvoe023485 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 27 Oct 2006 16:33:00 -0700 (MST) Received: (from dwc@localhost) by zloy.stilyagin.com (8.13.4/8.13.4/Submit) id k9RNWqLk027186; Fri, 27 Oct 2006 16:32:52 -0700 (MST) Date: Fri, 27 Oct 2006 16:32:52 -0700 From: Darrin Chandler To: Noah Message-ID: <20061027233252.GZ23706@zloy.stilyagin.com> References: <45425D61.6030209@enabled.com> <4542607E.8020101@mac.com> <45429451.3040706@enabled.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45429451.3040706@enabled.com> User-Agent: Mutt/1.5.11 Cc: "Peter A. Giessel" , freebsd-questions@freebsd.org Subject: Re: replacing ^M with emacs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 23:33:10 -0000 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/ |