<tt>compress/uncompress/zcat</tt>



next up previous contents
Next: packunpack Up: Compression Utilities Previous: Compression Utilities

compress/uncompress/zcat

compress [-v] filename...
where
-v
(verbose) displays the percentage of compression for each file.

uses ``adaptive Lempel-Ziv coding" [p. 83]sun:rf to compress the files by more than 60%!

The contents of filename is modified, and the name is appended with .Z.

uncompress [-vc] filename[.Z]
where
-v
(verbose) displays a message with the de-compression is done.
-c
(cat) leaves the original file intact, but sends the results to standard output;

is used to bring back the original name and content of filename.

The .Z is optional.

zcat filename
is equivalent to
uncompress -v filename.Z



Super-User
Fri Feb 17 15:55:40 EST 1995