forked from dbry/lzw-ab
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlzws.1.txt
94 lines (70 loc) · 2.35 KB
/
lzws.1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
LZWS(1)
=======
NAME
----
lzws - LZW streaming compressor/decompressor compatible with UNIX compress.
SYNOPSIS
--------
*lzws* ['OPTIONS'] < 'archive' > 'archive.Z'
DESCRIPTION
-----------
Lzws is a library with streaming API for compressor and decompressor.
Default options are fully compatible with original UNIX compress.
It has a cli tool for single file processing.
OPTIONS
-------
*-d, --decompress*::
Enable decompress mode.
Default mode is compress.
*-w, --without-magic-header*::
Disable magic header.
Magic header is enabled by default.
It should be used in both compress and decompress mode.
Compressor won't store information about magic header in file.
Decompressor won't read this option from file.
*-b, --max-code-bit-length=9..16*::
Set max code bit length.
Default value is 16.
It can be used in compress mode only.
Compressor writes max code bit length value to file.
Decompressor reads this option from file.
*-r, --raw*::
Disable block mode.
Block mode is enabled by default.
It can be used in compress mode only.
Compressor writes block mode value to file.
Decompressor reads this option from file.
*-m, --msb*::
Enable most significant bit mode.
Default mode is least significant bit.
It should be used in both compress and decompress mode.
Compressor won't store information about significant bit mode in file.
Decompressor won't read this option from file.
*-u, --unaligned-bit-groups*::
Enable unaligned bit groups.
Unaligned bit groups are disabled by default.
It should be used in both compress and decompress mode.
Compressor won't store information about unaligned bit groups in file.
Decompressor won't read this option from file.
*-q, --quiet*::
Disable error messages.
Error messages are enabled by default.
*-h, --help*::
Print help.
*-v, --version*::
Print version.
COMPATIBILITY
-------------
Default options are fully compatible with original UNIX compress.
Compressor only options (*-b and -r*) can be changed without loosing compatibility.
EXAMPLES
--------
`lzws < linux.tar > linux.tar.Z`::
Archive size is about 33% of original tar.
`lzws -u < linux.tar > linux.tar.Zu`::
Archive without alignment groups is about 0.01% smaller.
`lzws < linux.tar | compress -d | compress | lzws -d > linux.tar.new`::
New tar will be the same as original one.
SEE ALSO
--------
*compress*(1)