Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 3rd Edition (Vita Nuova)

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

deflate(2)

inflate(2)

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

deflate(2), inflate(2)

Plan 9  —  June 29, 2000

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026