|
|
1.1 root 1: .TH PACK 1
2: .CT 1 files
3: .SH NAME
4: pack, unpack, pcat, compress, uncompress, zcat \(mi compress and expand files
5: .SH SYNOPSIS
6: .B pack
7: [
8: .B -
9: ]
10: .I file ...
11: .PP
12: .B unpack
13: .I file ...
14: .PP
15: .B pcat
16: [
17: .I file ...
18: ]
19: .PP
20: .B compress
21: [
22: .I option ...
23: ]
24: [
25: .I file ...
26: ]
27: .PP
28: .B uncompress
29: [
30: .I option ...
31: ]
32: [
33: .I file ...
34: ]
35: .PP
36: .B zcat
37: [
38: .B -V
39: ]
40: [
41: .I file ...
42: ]
43: .SH DESCRIPTION
44: .I Pack
45: attempts to compress the
46: .I files
47: and places the results in
48: corresponding files named
49: .IB file .z
50: with the same access modes, dates, and owner as the originals.
51: Successfully packed files are removed.
52: .PP
53: .I Unpack
54: reverses the process.
55: .PP
56: .I Pcat
57: unpacks files to the standard output.
58: .PP
59: The
60: .B .z
61: suffix may be omitted from the name of the
62: input file for
63: .I unpack
64: or
65: .I pcat.
66: .PP
67: .I Pack
68: encodes individual characters in a Huffman code.
69: Option
70: .B -
71: causes statistics of the encoding to be printed.
72: The option toggles on and off at each appearance among the
73: list of
74: .I files.
75: .PP
76: .I Compress, uncompress,
77: and
78: .I zcat
79: work like
80: .I pack, unpack,
81: and
82: .I pcat,
83: putting each compressed
84: .I file
85: into
86: .IB file .Z .
87: The options are
88: .TP
89: .B -f
90: (force)
91: Compress even when it doesn't save space.
92: .TP
93: .B -c
94: Write to the standard output; change no files.
95: .I Zcat
96: is identical to
97: .I uncompress
98: .B -c.
99: .TP
100: .BI -b bits
101: .I Compress
102: uses a modified Lempel-Ziv encoding.
103: Common substrings in the file are replaced by
104: variable-length codes up to size
105: .I bits
106: (default 16).
107: Smaller limits devour less address space.
108: .TP
109: .B -v
110: Print percent reduction for each file.
111: .TP
112: .B -V
113: Print program version number.
114: .PP
115: .I Compress-uncompress
116: pack better and are faster overall;
117: .I pack-unpack
118: work on smaller machines and are much more widely available.
119: .SH "SEE ALSO"
120: T. A. Welch,
121: `A Technique for High Performance Data Compression,'
122: .I "IEEE Computer,"
123: 17 (1984) 8-19.
124: .SH DIAGNOSTICS
125: The exit code of
126: .I pack, unpack,
127: or
128: .I pcat
129: is the number of files it failed to process.
130: .PP
131: The exit code of
132: .I compress, uncompress,
133: or
134: .I zcat
135: is 0 normally, 1 for error, 2 for ineffective compression
136: (i.e. expansion).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.