summaryrefslogtreecommitdiffstats
path: root/usr.bin/compress/compress.1
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2000-03-26 15:10:37 +0000
committercharnier <charnier@FreeBSD.org>2000-03-26 15:10:37 +0000
commit20156c595569d2cac470c2472050c9ec8d9f2393 (patch)
treea5cc99712e75a5e266b39d00584dd5312e40eb50 /usr.bin/compress/compress.1
parent7493210c173d84463b654b3359a44929bba1cf56 (diff)
downloadFreeBSD-src-20156c595569d2cac470c2472050c9ec8d9f2393.zip
FreeBSD-src-20156c595569d2cac470c2472050c9ec8d9f2393.tar.gz
Add DIAGNOSTICS section name. Spelling
Diffstat (limited to 'usr.bin/compress/compress.1')
-rw-r--r--usr.bin/compress/compress.112
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1
index 075052f..69c2873 100644
--- a/usr.bin/compress/compress.1
+++ b/usr.bin/compress/compress.1
@@ -91,7 +91,7 @@ reduction in size and file overwriting are not performed, the input file is
not removed, and the attributes of the input file are not retained.
.Pp
The options are as follows:
-.Bl -tag -width Ds
+.Bl -tag -width indent
.It Fl b
Specify the
.Ar bits
@@ -122,13 +122,13 @@ must be between 9 and 16.
After the
.Ar bits
limit is reached,
-.Nm compress
+.Nm
periodically checks the compression ratio.
If it is increasing,
-.Nm compress
+.Nm
continues to use the existing code dictionary.
However, if the compression ratio decreases,
-.Nm compress
+.Nm
discards the table of substrings and rebuilds it from scratch. This allows
the algorithm to adapt to the next "block" of the file.
.Pp
@@ -153,9 +153,9 @@ Compression is generally much better than that achieved by Huffman
coding (as used in the historical command pack), or adaptive Huffman
coding (as used in the historical command compact), and takes less
time to compute.
-.Pp
+.Sh DIAGNOSTICS
The
-.Nm compress
+.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Rs
OpenPOWER on IntegriCloud