3 compress, uncompress, zcat \- compress a file using modified Lempel-Ziv coding
5 \fBcompress\fR [\fB\-cdfv\fR]\fR [\fIfile\fR] ...\fR
20 # Put output on \fIstdout\fR instead of on \fIfile.Z\fR
23 # Decompress instead of compress
26 # Force output even if there is no saving
32 .B compress <infile >outfile
36 # Compress 3 files to \fIx.Z\fR, \fIy.Z\fR, and \fIz.Z\fR
38 .B compress \-d file.Z
39 # Decompress \fIfile.Z\fR to \fIfile\fR
42 The listed files (or \fIstdin\fR, if none are given) are compressed
43 using the Ziv-Lempel algorithm. If the output is smaller than the input,
44 the output is put on \fIfile.Z\fR or \fIstdout\fR if no files are listed.
45 If \fIcompress\fR is linked to \fIuncompress\fR, the latter is the same
46 as giving the \fB\-d\fP flag.
47 Similarly, a link to \fIzcat\fR decompresses to \fIstdout\fR.
50 version of \fIcompress\fR uses 13-bit compression.
51 This means that when compressing files on other systems for transmission to
53 be sure that only 13-bit compression is used.
54 On many systems, the default is 16-bit (too big).