Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 07:54:14 -0500
From:      David Leimbach <dleimbac@earthlink.net>
To:        questions@freebsd.org
Subject:   Re: __ how to eliminate "^M" in ASCII files.
Message-ID:  <20010608075414.A784@mutt.home.net>
In-Reply-To: <20010608084958.A14372@m.mail.virginia.edu>; from mrg8n@mail.virginia.edu on Fri, Jun 08, 2001 at 08:49:59AM -0400
References:  <F2895sFmShG3ESvUC9y000187f7@hotmail.com> <20010608084958.A14372@m.mail.virginia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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