Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 15:54:31 -0500
From:      "David Loszewski" <stealth215@mediaone.net>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: ^M on end of lines
Message-ID:  <001e01c163e0$92ce9200$3000b1d8@sickness>
In-Reply-To: <20011102214348.B9504@raggedclown.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This happens with a .tar.gz file that I just downloaded and was also
happening with files that I ftp'd over to my FreeBSD system from my
RedHat Linux system

Dave

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Cliff
Sarginson
Sent: Friday, November 02, 2001 3:44 PM
To: freebsd-questions@FreeBSD.ORG
Subject: Re: ^M on end of lines

On Fri, Nov 02, 2001 at 03:36:12PM -0500, David Loszewski wrote:
> 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
> 
Mmm, sounds like they are Dos text format files, Dos puts
carriage-return(^M> line-feed(^J) at the end of every line,
whereas Unix only outs ^J.
This could happen I guess if they are text files being
downloaded as binary (image) format files.
Just a guess..

-- 
Regards
Cliff



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01c163e0$92ce9200$3000b1d8>