summaryrefslogtreecommitdiffstats
path: root/usr.bin/compress
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-04-19 23:44:58 +0000
committercharnier <charnier@FreeBSD.org>2002-04-19 23:44:58 +0000
commita07fb1cc07255490c7adbf8b4830307c3b6ae34d (patch)
tree1070287b1054de985087e8287086ae5d4c5ed090 /usr.bin/compress
parente0fe548473d7c5fb4bd311d674b5af8d589f6c96 (diff)
downloadFreeBSD-src-a07fb1cc07255490c7adbf8b4830307c3b6ae34d.zip
FreeBSD-src-a07fb1cc07255490c7adbf8b4830307c3b6ae34d.tar.gz
Use `The .Nm utility'
Diffstat (limited to 'usr.bin/compress')
-rw-r--r--usr.bin/compress/compress.115
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1
index 5c88ff6..9b6e4c0 100644
--- a/usr.bin/compress/compress.1
+++ b/usr.bin/compress/compress.1
@@ -52,8 +52,9 @@
.Op Fl cfv
.Op Ar
.Sh DESCRIPTION
-.Nm Compress
-reduces the size of the named files using adaptive Lempel-Ziv coding.
+The
+.Nm
+utility reduces the size of the named files using adaptive Lempel-Ziv coding.
Each
.Ar file
is renamed to the same name plus the extension
@@ -65,8 +66,9 @@ If compression would not reduce the size of a
.Ar file ,
the file is ignored.
.Pp
-.Nm Uncompress
-restores the compressed files to their original form, renaming the
+The
+.Nm uncompress
+utility restores the compressed files to their original form, renaming the
files by deleting the
.Dq .Z
extension.
@@ -101,8 +103,9 @@ Additionally, files are overwritten without prompting for confirmation.
Print the percentage reduction of each file.
.El
.Pp
-.Nm Compress
-uses a modified Lempel-Ziv algorithm.
+The
+.Nm
+utility uses a modified Lempel-Ziv algorithm.
Common substrings in the file are first replaced by 9-bit codes 257 and up.
When code 512 is reached, the algorithm switches to 10-bit codes and
continues to use more bits until the
OpenPOWER on IntegriCloud