Line | |
---|
1 | .TH COMPRESS 1
|
---|
2 | .SH NAME
|
---|
3 | compress, uncompress, zcat \- compress a file using modified Lempel-Ziv coding
|
---|
4 | .SH SYNOPSIS
|
---|
5 | \fBcompress\fR [\fB\-cdfv\fR]\fR [\fIfile\fR] ...\fR
|
---|
6 | .br
|
---|
7 | .de FL
|
---|
8 | .TP
|
---|
9 | \\fB\\$1\\fR
|
---|
10 | \\$2
|
---|
11 | ..
|
---|
12 | .de EX
|
---|
13 | .TP 20
|
---|
14 | \\fB\\$1\\fR
|
---|
15 | # \\$2
|
---|
16 | ..
|
---|
17 | .SH OPTIONS
|
---|
18 | .FL "\-c" "Put output on \fIstdout\fR instead of on \fIfile.Z\fR"
|
---|
19 | .FL "\-d" "Decompress instead of compress"
|
---|
20 | .FL "\-f" "Force output even if there is no saving"
|
---|
21 | .FL "\-v" "Verbose mode"
|
---|
22 | .SH EXAMPLES
|
---|
23 | .EX "compress <infile >outfile" "Compress 1 file"
|
---|
24 | .EX "compress x y z" "Compress 3 files to \fIx.Z\fR, \fIy.Z\fR, and \fIz.Z\fR"
|
---|
25 | .EX "compress \-d file.Z" "Decompress \fIfile.Z\fR to \fIfile\fR"
|
---|
26 | .SH DESCRIPTION
|
---|
27 | .PP
|
---|
28 | The listed files (or \fIstdin\fR, if none are given) are compressed
|
---|
29 | using the Ziv-Lempel algorithm. If the output is smaller than the input,
|
---|
30 | the output is put on \fIfile.Z\fR or \fIstdout\fR if no files are listed.
|
---|
31 | If \fIcompress\fR is linked to \fIuncompress\fR, the latter is the same
|
---|
32 | as giving the \fB\-d\fP flag.
|
---|
33 | Similarly, a link to \fIzcat\fR decompresses to \fIstdout\fR.
|
---|
34 | The
|
---|
35 | \s-1MINIX 3\s-1
|
---|
36 | version of \fIcompress\fR uses 13-bit compression.
|
---|
37 | This means that when compressing files on other systems for transmission to
|
---|
38 | \s-1MINIX 3\s-1,
|
---|
39 | be sure that only 13-bit compression is used.
|
---|
40 | On many systems, the default is 16-bit (too big).
|
---|
41 | .SH "SEE ALSO"
|
---|
42 | .BR tar (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.