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.
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.
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.
Possible exit status values are:
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.
Possible reasons for failure include:
- — unknown command line option
- — error creating a name for a temporary file
- — error opening an input file or a temporary file
- — error writing to a temporary file
- — inability to rename a temporary file
- — inability to restore the modification time on a packed file
- — input file was not packed
- — a packed file is corrupt
- file: Not a packed file
The file was not processed by pack. In this case, the file is not changed.
Other messages about inaccessibility of files and so on, are self-explanatory.
x/OPEN Portability Guide 4.0. UNIX System V. Windows 2000. Windows XP. Windows Server 2003. Windows Vista. Windows 7. Windows Server 2008. Windows 8. Windows Server 2012.
Any file packed on a Windows system can be unpacked on any supported operating system, and vice-versa.
MKS Toolkit for Power Users
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
MKS Toolkit Backup and Tape Handling Solutions Guide
MKS Toolkit 9.5 Documentation Build 3.