ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/09/21:11:46

From: babcock AT shell1 DOT cybercom DOT net (Robert Babcock)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Why not to use 'tar' before packing DJGPP?
Date: 9 Nov 1996 17:41:25 -0500
Organization: A poorly-installed InterNetNews site
Lines: 16
Message-ID: <babcock.847578797@cybercom.net>
References: <32823D97 DOT 44DD AT sabat DOT tu DOT kielce DOT pl> <3282A82E DOT 7EE7 AT cs DOT com> <55vapk$s4l AT news DOT ox DOT ac DOT uk> <babcock DOT 847510845 AT cybercom DOT net> <561pv7$36c AT news DOT ox DOT ac DOT uk>
NNTP-Posting-Host: shell1.cybercom.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) writes:

>Sorry, I don't really understand tar (yes, I'm a Dos user...), but I 
>thought the point of the original article was that tar could achieve 
>better compression ratios than zip? The quoted figures certainly looked 
>impressive...

Tar does not do compression, it only combines files.  The point is that
almost any compressor does better when files are concatenated.  (Compressors
look for repeated strings, and giving them more text to work with means
greater chance of finding repeats.)  So if you combine files, either with tar
or as an uncompressed ZIP, then compress the single file, you'll get a
smaller distribution file.  There are other archivers, such as RAR, which
effectively do this automatically.  They call the resulting archive "solid".
The disadvantage of such schemes is that you can't update a single file in
the archive without building the whole thing.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019