74 lines
1.9 KiB
HTML
74 lines
1.9 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>compress(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>compress(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
compress, uncompress, zcat - compress a file using modified Lempel-Ziv
|
|
coding
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>compress</STRONG> [<STRONG>-cdfv</STRONG>] [<EM>file</EM>] ...
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-c</STRONG> Put output on <EM>stdout</EM> instead of on <EM>file</EM>.<EM>Z</EM>
|
|
|
|
<STRONG>-d</STRONG> Decompress instead of compress
|
|
|
|
<STRONG>-f</STRONG> Force output even if there is no saving
|
|
|
|
<STRONG>-v</STRONG> Verbose mode
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>compress</STRONG> <STRONG><infile</STRONG> <STRONG>>outfile</STRONG>
|
|
# Compress 1 file
|
|
|
|
<STRONG>compress</STRONG> <STRONG>x</STRONG> <STRONG>y</STRONG> <STRONG>z</STRONG> # Compress 3 files to <EM>x</EM>.<EM>Z</EM>, <EM>y</EM>.<EM>Z</EM>, and <EM>z</EM>.<EM>Z</EM>
|
|
|
|
<STRONG>compress</STRONG> <STRONG>-d</STRONG> <STRONG>file.Z</STRONG> # Decompress <EM>file</EM>.<EM>Z</EM> to <EM>file</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
The listed files (or <EM>stdin</EM>, if none are given) are compressed using the
|
|
Ziv-Lempel algorithm. If the output is smaller than the input, the
|
|
output is put on <EM>file</EM>.<EM>Z</EM> or <EM>stdout</EM> if no files are listed. If <EM>compress</EM> is
|
|
linked to <EM>uncompress</EM>, the latter is the same as giving the <STRONG>-d</STRONG> flag.
|
|
Similarly, a link to <EM>zcat</EM> decompresses to <EM>stdout</EM>. The MINIX version of
|
|
<EM>compress</EM> uses 13-bit compression. This means that when compressing files
|
|
on other systems for transmission to MINIX, be sure that only 13-bit
|
|
compression is used. On many systems, the default is 16-bit (too big).
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/tar.1.html">tar(1)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|