diff options
author | charnier <charnier@FreeBSD.org> | 2002-04-19 23:44:58 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-04-19 23:44:58 +0000 |
commit | a07fb1cc07255490c7adbf8b4830307c3b6ae34d (patch) | |
tree | 1070287b1054de985087e8287086ae5d4c5ed090 /usr.bin/compress | |
parent | e0fe548473d7c5fb4bd311d674b5af8d589f6c96 (diff) | |
download | FreeBSD-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.1 | 15 |
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 |