From owner-freebsd-questions Thu Nov 8 14:16:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 2A9DE37B41D for ; Thu, 8 Nov 2001 14:16:47 -0800 (PST) Received: from hades.hell.gr (patr530-b234.otenet.gr [212.205.244.242]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fA8MGhB25848; Fri, 9 Nov 2001 00:16:43 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fA8HtW301016; Thu, 8 Nov 2001 19:55:32 +0200 (EET) (envelope-from charon@labs.gr) Date: Thu, 8 Nov 2001 19:55:32 +0200 From: Giorgos Keramidas To: David Loszewski Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ^M on end of lines Message-ID: <20011108195532.B775@hades.hell.gr> References: <20011102214348.B9504@raggedclown.net> <001e01c163e0$92ce9200$3000b1d8@sickness> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001e01c163e0$92ce9200$3000b1d8@sickness> User-Agent: Mutt/1.3.22.1i 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:54:31PM -0500, David Loszewski wrote: > 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 If I use an MSDOS and/or Windows program to edit some text file, and then archive it in a TAR archive, compress the file with GNU gzip, and mail it to you, then you should download the `.tar.gz' file as binary, otherwise loss of data will occur. The files included *in* the archive though as treated as binary files by tar and gzip, so when you extract something that has been created with the DOS format of newline (both ^M and ^J characters used), then extracting it will get you exactly the same format. Nothing strange here :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message