From owner-freebsd-questions Wed Jul 11 4:57:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from x1-6-00-50-ba-de-36-33.kico1.on.home.com (d141-119-162.home.cgocable.net [24.141.119.162]) by hub.freebsd.org (Postfix) with ESMTP id BDA4B37B401 for ; Wed, 11 Jul 2001 04:57:46 -0700 (PDT) (envelope-from genisis@istar.ca) Received: from localhost (genisis@localhost) by x1-6-00-50-ba-de-36-33.kico1.on.home.com (8.11.3/8.11.3) with ESMTP id f6BC1tu14413; Wed, 11 Jul 2001 08:01:56 -0400 (EDT) (envelope-from genisis@istar.ca) X-Authentication-Warning: x1-6-00-50-ba-de-36-33.kico1.on.home.com: genisis owned process doing -bs Date: Wed, 11 Jul 2001 08:01:55 -0400 (EDT) From: Dru X-X-Sender: To: Tim McCullagh Cc: Subject: Re: Removing the "^M" s from files created on Windows machines In-Reply-To: <01b701c109ff$49f3a7e0$6500a8c0@halenet.com.au> Message-ID: <20010711080027.I14352-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> 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 On Wed, 11 Jul 2001, Tim McCullagh wrote: > Hi > > Some time back I recall seeing an email where some one posted a vi command > which would remove the ^M's from files created on windows machines. > > Can anyone tell me what it was? > > thanks in advance > > Tim Hi Tim, Or a third way of doing it: :%! col -bx Dru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message