Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2001 21:43:48 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: ^M on end of lines
Message-ID:  <20011102214348.B9504@raggedclown.net>
In-Reply-To: <001a01c163de$041466e0$3000b1d8@sickness>; from stealth215@mediaone.net on Fri, Nov 02, 2001 at 03:36:12PM -0500
References:  <001a01c163de$041466e0$3000b1d8@sickness>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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