Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 17:43:18 -0500
From:      "David Loszewski" <stealth215@mediaone.net>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: ^M on end of lines
Message-ID:  <003301c163ef$c4d8ca40$3000b1d8@sickness>
In-Reply-To: <20011102172444.L97368@happy.cow.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yea, but then I have to do that to all the files
Not pretty when you have a 100 files

Dave

-----Original Message-----
From: ravi pina [mailto:ravi@cow.org] 
Sent: Friday, November 02, 2001 5:25 PM
To: David Loszewski
Cc: freebsd-questions@FreeBSD.ORG
Subject: Re: ^M on end of lines

On Fri, Nov 02, 2001 at 03:36:12PM -0500, David Loszewski said at one
point in time:
> Everytime I copy a file over or download a file from the internet,
when
> I open it up there is a '^M' on the end of every line of that file.
Why
> would this happening and how could I fix it?
> 
> Dave

a simple fix after dl is to open it up in vi and do
:%s,^V^M,,g

-r

-- 
echo "send pgp key" | mail ravi@cow.org
Why do we say something is out of whack?  What is a whack?


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?003301c163ef$c4d8ca40$3000b1d8>