pcatdisplay Huffman packed files on standard output |
Command |
pcat
file ...
pcat
uncompresses argument files which were
compressed by pack
using a Huffman
minimal redundancy code. The uncompressed data is sent to the standard output.
This is handy for packed text files, but inappropriate for binary files, since
the standard output is treated as a text stream. Binary files can be decoded in
place by unpack
.
The names of compressed input files are expected to end in .z
. If
a specified input file name does not end in this suffix, pcat
automatically adds the .z
; for example, if the command line
specifies file abc
, pcat
looks for
abc.z
. If abc.z
is not found, abc
(with
no extension) is used.
0
Successful completion.
n
Indicates that n
files could not be unpacked properly. For
example, if three out of six files could not be packed properly, the exit
status is 3
. Possible reasons for failure include:
The file was not processed by
pack
.