A.9. Gzip

A.9.1. Contents

The Gzip package contains the compress, gunzip, gzexe, gzip, uncompress, zcat, zcmp, zdiff, zforce, zgrep, zmore and znew programs.

A.9.2. Description

A.9.2.1. gunzip, uncompress

gunzip and uncompress decompress files which are compressed with gzip.

A.9.2.2. gzexe

gzexe allows you to compress executables in place and have them automatically uncompress and execute when they are run (at a penalty in performance).

A.9.2.3. gzip

gzip reduces the size of the named files using Lempel-Ziv coding (LZ77).

A.9.2.4. zcat

zcat uncompresses either a list of files on the command line or its standard input and writes the uncompressed data on standard output

A.9.2.5. zcmp

zcmp invokes the cmp program on compressed files.

A.9.2.6. zdiff

zdiff invokes the diff program on compressed files.

A.9.2.7. zforce

zforce forces a .gz extension on all gzip files so that gzip will not compress them twice. This can be useful for files with names truncated after a file transfer.

A.9.2.8. zgrep

zgrep invokes the grep program on compressed files.

A.9.2.9. zmore

zmore is a filter which allows examination of compressed or plain text files one screen at a time on a soft-copy terminal (similar to the more program).

A.9.2.10. znew

znew re-compresses files from .Z (compress) format to .gz (gzip) format.