MPE/iX Shell and Utilities Reference Manual, Vol 2

unpack(1) MPE/iX Shell and Utilities unpack(1)
NAME
unpack — decode Huffman packed files
SYNOPSIS
unpack file ...
DESCRIPTION
unpack uncompresses argument files compressed by pack(1) using a Huffman minimal re-
dundancy code. By default, unpack looks for file with a .z extension to decompress. 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 also preserved. Packed files can be identi-
fied by file(1). Packed text files can be viewed without being unpacked in place by using
pcat(1).
FILES
pk$ temporary copy of input file.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
n Indicates 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.
Messages
Message: data truncated
Cause: You specified a packed file that was damaged.
Action: Specify a packed file that is not damaged.
Message: decoding tree truncated
Cause: You specified a packed file that was damaged.
Action: Specify a packed file that is not damaged.
Message: file "filename": system error
Cause: See syserror(3).
Action: See syserror(3).
Message: not a packed file
Cause: You specified an input file that was not a packed file.
Action: Make sure that you specified the correct file name. If it is correct, use the file
utility to see if it it was a compressed file.
Commands and Utilities 1-637