From owner-freebsd-questions Tue Aug 1 11: 6:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from oak.drexeltech.com (oak.drexeltech.com [64.39.31.169]) by hub.freebsd.org (Postfix) with ESMTP id 9F24237C1D9 for ; Tue, 1 Aug 2000 11:06:36 -0700 (PDT) (envelope-from john@johnturner.com) Received: from elmo.johnturner.com (adsl-static-1-C7B2BC85.detroit.mi.ameritech.net [199.178.188.133]) by oak.drexeltech.com (8.9.3/8.9.3) with ESMTP id NAA78348; Tue, 1 Aug 2000 13:13:08 -0500 (CDT) (envelope-from john@johnturner.com) Message-Id: <4.3.2.7.0.20000801140422.00b66450@mail.johnturner.com> X-Sender: jturner@mail.johnturner.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 01 Aug 2000 14:06:21 -0400 To: "Adam Hefetz" , freebsd-questions@FreeBSD.ORG From: John Turner Subject: Re: vi In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG They show up when you transfer an ASCII file from a MSFT OS to a *NIX OS using binary mode. They will stop showing up if you use ASCII mode to transfer ASCII files. As for how to remove them, there are many different ways...I prefer the vi command line substitution that others have already posted. - John At 05:15 PM 8/1/2000 +0000, Adam Hefetz wrote: >Hi, >Every time I open a text file on vi, I get '^M' in the end of each line. >For example: > >Hello, world!^M >Bye.^M > >How can I get these signs of other then deleting them manually? > >Adam >________________________________________________________________________ >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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message