From owner-freebsd-questions Fri Jun 8 5:52: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id 5ED8737B40A for ; Fri, 8 Jun 2001 05:51:57 -0700 (PDT) (envelope-from dleimbac@earthlink.net) Received: from mutt.home.net (1Cust17.tnt1.starkville.ms.da.uu.net [63.30.107.17]) by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id FAA12494 for ; Fri, 8 Jun 2001 05:51:55 -0700 (PDT) Received: (from dave@localhost) by mutt.home.net (8.11.3/8.11.3) id f58CsFw00799 for questions@freebsd.org; Fri, 8 Jun 2001 07:54:15 -0500 (CDT) (envelope-from dave) Date: Fri, 8 Jun 2001 07:54:14 -0500 From: David Leimbach To: questions@freebsd.org Subject: Re: __ how to eliminate "^M" in ASCII files. Message-ID: <20010608075414.A784@mutt.home.net> References: <20010608084958.A14372@m.mail.virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010608084958.A14372@m.mail.virginia.edu>; from mrg8n@mail.virginia.edu on Fri, Jun 08, 2001 at 08:49:59AM -0400 X-Operating-System: FreeBSD mutt.home.net 4.3-RELEASE FreeBSD 4.3-RELEASE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG cat file | tr '\015' ' ' all ^M replaced with spaces... maybe not the best example. :) dos2unix works also. Dave On Fri, Jun 08, 2001 at 08:49:59AM -0400, Mike Galvez wrote: > In vi > > %! col -bx > > will also do it. > > > On Fri, Jun 08, 2001 at 10:17:51AM +0800, bsdnewbie bsdnewbie wrote: > > Is there any tool can eliminate "^M" in text files? > > Thanks in advance. > > > > best regards, > > steven > > _________________________________________________________________________ > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > Michael Galvez > Computer Systems Sr. Engineer Office: 804-982-2975 > Financial Analysis E-Mail: mrg8n@virginia.edu > University of Virginia Messenger Mail: Carruthers Hall > > They're only trying to make me LOOK paranoid! > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message