* Re: compress verses gzip
1997-10-06 4:00 compress verses gzip Ed Ady
@ 1997-10-06 4:00 ` Kevin Oberman
1997-10-07 4:00 ` Eric Werme
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Oberman @ 1997-10-06 4:00 UTC (permalink / raw)
Ed Ady <adye@mail.dec.com> writes:
> Could some one please post why to use gzip instead of compress?
> Also, is there a problem with using compress/uncompress on files larger
> that 2GIG?
compress uses Lempel-Ziv compression which is far less effective than
the gzip algorithm. It's pretty old technology. It's also proprietary
and for that reason is missing from many Unix implementations. (Unisys
owns the rights to it.) gzip is free.
For just those reasons I don't see any reason to use
compress/uncompress. gzip is widely available, free, and works better.
If compress is properly implemented, the file size is not
relevant. (Of course, you need disk space for both the compressed and
uncompressed files for an instant unless you are piping the output
somewhere else.)
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net Phone: +1 510 486-8634
^ permalink raw reply [flat|nested] 3+ messages in thread
* compress verses gzip
@ 1997-10-06 4:00 Ed Ady
1997-10-06 4:00 ` Kevin Oberman
1997-10-07 4:00 ` Eric Werme
0 siblings, 2 replies; 3+ messages in thread
From: Ed Ady @ 1997-10-06 4:00 UTC (permalink / raw)
Could some one please post why to use gzip instead of compress?
Also, is there a problem with using compress/uncompress on files larger
that 2GIG?
Thanks,
Ed
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compress verses gzip
1997-10-06 4:00 compress verses gzip Ed Ady
1997-10-06 4:00 ` Kevin Oberman
@ 1997-10-07 4:00 ` Eric Werme
1 sibling, 0 replies; 3+ messages in thread
From: Eric Werme @ 1997-10-07 4:00 UTC (permalink / raw)
Ed Ady <adye@mail.dec.com> 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 <>
<> <werme@zk3.dec.com> <> nickname, we're really still DIGITAL.) <>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-10-07 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-06 4:00 compress verses gzip Ed Ady
1997-10-06 4:00 ` Kevin Oberman
1997-10-07 4:00 ` Eric Werme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox