From owner-freebsd-questions@FreeBSD.ORG Fri Oct 27 19:51:45 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 A639216A415 for ; Fri, 27 Oct 2006 19:51:45 +0000 (UTC) (envelope-from mginsburg@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E1143D45 for ; Fri, 27 Oct 2006 19:51:45 +0000 (GMT) (envelope-from mginsburg@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Fri, 27 Oct 2006 15:51:44 -0400 id 00056403.45426350.00002604 Received: from Internal Mail-Server (206.210.89.202) by mx01 (envelope-from mginsburg@collaborativefusion.com) with AES256-SHA encrypted SMTP; 27 Oct 2006 15:45:24 -0400 Message-ID: <45426361.40601@collaborativefusion.com> Date: Fri, 27 Oct 2006 15:52:01 -0400 From: Mike Ginsburg User-Agent: Thunderbird 1.5.0.7 (X11/20061016) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45425D61.6030209@enabled.com> <6.0.0.22.2.20061027144308.0216e270@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20061027144308.0216e270@mail.computinginnovations.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 19:51:45 -0000 There is a program in ports called unix2dos. With it comes the command dos2unix that automatically goes through the specified file and removes all of the ^M --Mike Ginsburg Derek Ragona wrote: > Those ^M's are the MS-DOS EOL character. You can use sed, or tr to > remove them via a commandline pipe. > > -Derek > > > At 02:26 PM 10/27/2006, Noah wrote: >> Hi there, >> >> It appears that a text editor placed a bunch on ^M throughout a text >> file I am working with. I assure this is equivalent to eh keystroke >> control-M. >> >> How might I get emacs to search replace >> >> also is there a mail list focused specifically on emacs usability? >> please refer me to it? >> >> Cheers, >> >> Noah >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> MailScanner thanks transtec Computers for their support. >> >