From owner-freebsd-questions Fri Nov 2 12:44: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id DE7AB37B403 for ; Fri, 2 Nov 2001 12:43:57 -0800 (PST) Received: from [212.238.77.116] (helo=buffy.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 15zlAR-0002qG-00 for freebsd-questions@freebsd.org; Fri, 02 Nov 2001 20:43:55 +0000 Received: by tanya.raggedclown.net (Ragged Clown Mailhost, from userid 500) id 21AC611F1; Fri, 2 Nov 2001 21:43:48 +0100 (CET) Date: Fri, 2 Nov 2001 21:43:48 +0100 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: ^M on end of lines Message-ID: <20011102214348.B9504@raggedclown.net> References: <001a01c163de$041466e0$3000b1d8@sickness> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <001a01c163de$041466e0$3000b1d8@sickness>; from stealth215@mediaone.net on Fri, Nov 02, 2001 at 03:36:12PM -0500 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 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