SYNOPSIS
pcat file ...
DESCRIPTION
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. Ifabc.z is not found, abc (with no extension) is used.
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 packed properly, the exit status is 3. Possible reasons for failure include:
- file: Not a packed file
-
The file was not processed by pack.
Other messages, about inaccessibility of files and so on, are self-explanatory. The exit status is the number of file arguments which could not be processed.
PORTABILITY
x/OPEN Portability Guide 4.0. UNIX System V. Windows 2000. Windows XP. Windows Server 2003. Windows Vista.
Any file packed on a Windows system can be unpacked on UNIX systems, and vice versa.
AVAILABILITY
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
SEE ALSO
MKS Toolkit Backup and Tape Handling Solutions Guide
MKS Toolkit 9.2 Documentation Build 16.