GZIP(1) GZIP(1)
NAME
gzip, gunzip - compression and decompression utilities
SYNOPSIS
gzip [ -v ] [ -level ] [ file... ]
gunzip [ file... ]
DESCRIPTION
Gzip and gunzip perform data compression and decompression
to and from the standard gzip file format. If no arguments
are given gzip compresses each file replacing it by a file
of the same name with the a .gz suffix appended. If no
files are given, standard input and standard output are
used. Level is a single decimal digit between 1 and 9;
higher numbers give better compression. The default level
is 6. The -v option causes gzip to report the compression
ratio of each file that it compresses.
Gunzip performs the opposite operation to gzip; each file
(which must have a .gz suffix) is uncompressed, and replaced
by a file of the same name with the .gz suffix removed. If
no files are given, standard input and standard output are
used.
SOURCE
/appl/cmd/gzip.b
/appl/cmd/gunzip.b
SEE ALSO
filters(2)
Page 1 Plan 9 (printed 10/24/25)