unpackdecode Huffman packed files |
Command |
unpack
file ...
unpack uncompresses argument files compressed by
pack, using a Huffman minimal
redundancy code. By default, unpack looks for file
with a .z extension. It places the decompressed output in a file
with the same name, but without the .z extension. The times of last
access and last modification are preserved.
Packed files can be identified by file.
Packed text files can be viewed without being unpacked in place using
pcat.
unpack doesn't unpack a file if: the input file cannot be
opened; a file already exists with same name as the output file; the output file
can't be created; if the input file doesn't appear to have been created by
pack.
pk$*temporary copy of input file. (You may see this in the current
directory if unpack is interrupted.)
This is now located in the same directory as the file being
unpacked; in previous releases of MKS Toolkit it was stored in the
directory indicated by TMPDIR. The new
approach eliminates some size problems when
TMPDIR is on a RAM disk and substantially
improves performance in most cases.
0Successful completion.
nIndicates that n files could not be unpacked properly. For
example, if three out of six files could not be unpacked properly, the
exit status is 3.
Possible reasons for failure include:
The file was not processed by
pack. In this case, the file is
not changed.
envvar