From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5e9733a3110ea795 X-Google-Attributes: gidfee84,public From: werme@alingo.zk3.dec.com (Eric Werme) Subject: Re: compress verses gzip Date: 1997/10/07 Message-ID: #1/1 X-Deja-AN: 278966235 References: <34393C7E.3C5E@mail.dec.com> Organization: Digital Equipment Corporation Reply-To: werme@zk3.dec.com Newsgroups: comp.unix.osf.osf1 Ed Ady writes: >Could some one please post why to use gzip instead of compress? >From the man page... Gzip uses the Lempel-Ziv algorithm used in zip and PKZIP. The amount of compression obtained depends on the size of the input and the distribution of common substrings. Typically, text such as source code or English is reduced by 60-70%. Compression is generally much better than that achieved by LZW (as used in compress), Huffman coding (as used in pack), or adaptive Huffman coding (compact). >Also, is there a problem with using compress/uncompress on files larger >that 2GIG? I don't know - haven't tried. Again, gzip.1: BUGS The --list option reports incorrect sizes if they exceed 2 gigabytes. The --list option reports sizes as -1 and crc as ffffffff if the compressed file is on a non seekable media. The man page has lots of other useful information. You can probably find it with AltaVista. -- <> Eric (Ric) Werme <> DEC's back! (As an officially approved <> <> <> nickname, we're really still DIGITAL.) <>