diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/1/gzip | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/1/gzip')
| -rw-r--r-- | man/1/gzip | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/man/1/gzip b/man/1/gzip new file mode 100644 index 00000000..1ba9e4a2 --- /dev/null +++ b/man/1/gzip @@ -0,0 +1,69 @@ +.TH GZIP 1 +.SH NAME +gzip, gunzip \- compression and decompression utilities +.SH SYNOPSIS +.B gzip +[ +.B \-v +] [ +.BI \- level +] [ +.IR file ... +] +.br +.B gunzip +[ +.IR file ... +] +.SH DESCRIPTION +.B Gzip +and +.B gunzip +perform data compression and decompression +compatible with the Unix +.I gzip +file format, +which uses a hybrid Lempel-Ziv 1977 and Huffman compression algorithm +called `deflate'. +If no arguments are given +.B gzip +compresses each +.I file +replacing it by a file of the same +name with the a +.B .gz +suffix appended. +If no files are given, standard input +and standard output are used. +.I Level +is a single decimal digit between 1 and 9; +higher numbers give better compression. +The default +.I level +is 6. +The +.B \-v +option causes +.B gzip +to report the compression ratio of each file that +it compresses. +.PP +.B Gunzip +performs the opposite operation to +.BR gzip ; +each +.I file +(which must have a +.B .gz +suffix) is uncompressed, and replaced +by a file of the same name with the +.B .gz +suffix removed. If no files are given, +standard input and standard output are used. +.SH SOURCE +.B /appl/cmd/gzip.b +.br +.B /appl/cmd/gunzip.b +.SH SEE ALSO +.IR filter (2), +.IR filter-deflate (2) |
