From owner-freebsd-questions Wed Jun 6 7:14:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (Postfix) with ESMTP id 4424537B403 for ; Wed, 6 Jun 2001 07:14:42 -0700 (PDT) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.9.3/8.8.7) with ESMTP id KAA07300; Wed, 6 Jun 2001 10:16:58 -0400 (EDT) (envelope-from shovey@buffnet.net) Date: Wed, 6 Jun 2001 10:14:29 -0400 (EDT) From: Stephen Hovey To: G D McKee Cc: Damien Tougas , Laura Gioia , questions@FreeBSD.ORG Subject: Re: ^M In-Reply-To: <015501c0ee92$71ca67a0$0a00a8c0@gdmckee.local> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 if they are ftp'd ascii mode from unix to windows they get back in there. On Wed, 6 Jun 2001, G D McKee wrote: > Hi > > On think topic does anyone know who to get the ^M's back again so as M$ > notepad can read the files correctly. > > Gordon > ----- Original Message ----- > From: "Damien Tougas" > To: "Laura Gioia" > Cc: > Sent: Wednesday, June 06, 2001 3:05 PM > Subject: Re: ^M > > > > --On Wednesday, June 06, 2001 15:57:59 +0200 Laura Gioia > > wrote: > > > > >> Open the file in vi, and type in the following (^ = ctrl): > > >> > > >> :1,$ s/^V^M/g > > >> > > >> That should do it for you. > > > > > > better > > > :%s/^V^M//g > > > don't you think? > > > > Oops, yes, I was on the phone when I wrote that crap, yours will actually > > work ;-) > > > > --- > > Damien Tougas > > Systems Administrator > > Carroll-Net, Inc. > > http://www.carroll.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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message