From owner-freebsd-questions Fri Jun 8 9:24:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from MPI-Softtech.Com (mpi.mpi-softtech.com [208.60.120.177]) by hub.freebsd.org (Postfix) with ESMTP id 9CB3B37B401 for ; Fri, 8 Jun 2001 09:24:13 -0700 (PDT) (envelope-from dleimbac@MPI-Softtech.Com) Received: from mpi-plusplus.mpi-softtech.com (mail@mpi-plusplus.mpi-softtech.com [208.60.120.164]); by MPI-Softtech.Com (8.9.3/8.9.3/MPI-Softtech/evision: 1.3 $) with ESMTP; id LAA15357 for ; Fri, 8 Jun 2001 11:24:12 -0500 (CDT) Received: from dleimbac by mpi-plusplus.mpi-softtech.com with local (Exim 3.12 #1 (Debian)) id 158Q0X-0006y2-00 for ; Fri, 08 Jun 2001 12:25:13 -0500 Date: Fri, 8 Jun 2001 12:25:13 -0500 To: freebsd-questions@freebsd.org Subject: Re: __ how to eliminate "^M" in ASCII files. Message-ID: <20010608122513.A26763@mpi-plusplus.mpi-softtech.com> References: <911D8F660DF6D411B61F00500462BA019261CC@EXCHANGE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from kenn@pcintelligent.com on Fri, Jun 08, 2001 at 11:11:02AM -0400 From: Dave Leimbach 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 > I hoped that helped, please remeber if you aren't using vi you shouldn't > be using Unix :) I prefer emacs.... I know you will say its bloated and has more functionality than any one person could possibly need but vi doesn't come close to covering all the bases I want covered. I do happen to know vi very well however as I used it for 5 years in college. (Stupid beer) :) Dave > > Ken! > > On Fri, 8 Jun 2001, Alex Dyas wrote: > > > > cat file | tr '\015' ' ' > > > > > > all ^M replaced with spaces... maybe not the best example. > > > > cat file | tr -d '\015' > > > > gets rid of them. > > > > alex... > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > -- > IMPORTANT: This email is intended for the use of the individual addressee(s) > named above and may contain information that is confidential, privileged > or unsuitable for overly sensitive persons with low self-esteem, no sense > of humour or irrational religious beliefs. If you are not the intended > recipient, any dissemination, distribution or copying of this email is not > authorised (either explicitly or implicitly) and constitutes an irritating > social faux pas. > > Unless the word absquatulation has been used in its correct context somewhere > other than in this warning, it does not have any legal or no grammatical use > and may be ignored. No animals were harmed in the transmission of this email, > although the kelpie next door is living on borrowed time, let me tell you. > Those of you with an overwhelming fear of the unknown will be gratified to > learn that there is no hidden message revealed by reading this warning > backwards, so just ignore that Alert Notice from Microsoft. > > However, by pouring a complete circle of salt around yourself and your > computer you can ensure that no harm befalls you and your pets. If you > have received this email in error, please add some nutmeg and egg whites, > whisk and place in a warm oven for 40 minutes. > > > 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