From owner-freebsd-questions Tue Aug 1 10:18:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.telestream.com (mail.telestream.com [205.238.4.5]) by hub.freebsd.org (Postfix) with ESMTP id 7FBCD37BFA4 for ; Tue, 1 Aug 2000 10:18:50 -0700 (PDT) (envelope-from keith@mail.telestream.com) Received: from localhost (keith@localhost) by mail.telestream.com (8.9.3/8.9.3) with ESMTP id KAA18717; Tue, 1 Aug 2000 10:18:46 -0700 Date: Tue, 1 Aug 2000 10:18:46 -0700 (PDT) From: To: Adam Hefetz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vi In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :%s/^M//g to get an actual ^M in there you have to hold down ctrl+v and while still depresing the ctrl key, lift finger off of the v and hit the m key Keith ================================= Keith W. At the helm My non work related site www.cydonia.net ================================= On Tue, 1 Aug 2000, 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