Date: Thu, 8 Nov 2001 19:55:32 +0200 From: Giorgos Keramidas <charon@labs.gr> To: David Loszewski <stealth215@mediaone.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ^M on end of lines Message-ID: <20011108195532.B775@hades.hell.gr> In-Reply-To: <001e01c163e0$92ce9200$3000b1d8@sickness> References: <20011102214348.B9504@raggedclown.net> <001e01c163e0$92ce9200$3000b1d8@sickness>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011108195532.B775>