Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 08:01:55 -0400 (EDT)
From:      Dru <genisis@istar.ca>
To:        Tim McCullagh <timbo@halenet.com.au>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Removing the "^M" s from files created on Windows machines
Message-ID:  <20010711080027.I14352-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com>
In-Reply-To: <01b701c109ff$49f3a7e0$6500a8c0@halenet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010711080027.I14352-100000>