From a07fb1cc07255490c7adbf8b4830307c3b6ae34d Mon Sep 17 00:00:00 2001 From: charnier Date: Fri, 19 Apr 2002 23:44:58 +0000 Subject: Use `The .Nm utility' --- usr.bin/compress/compress.1 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'usr.bin/compress') 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 -- cgit v1.1