MPE/iX Shell and Utilities Reference Manual, Vol 2

uncompress(1) MPE/iX Shell and Utilities uncompress(1)
NAME
uncompress — Undo Lempel-Ziv compression of a file
SYNOPSIS
uncompress [–cDfVv][file]
DESCRIPTION
uncompress uncompresses data written by the Lempel-Ziv compression program
compress(1). Data is read from file or the standard input. On UNIX systems, uncompress
looks for file with a .Z extension to uncompress. It places the uncompressed output in a file
with the same name but without the .Z extension. If this file already exists, uncompress
asks if you want to overwrite it, unless you specify the –f option.
Since the number of bits of compression is encoded in the compressed data, uncompress
automatically uses the correct number of bits.
Options
uncompress accepts the following options:
–c writes uncompressed output to the standard output (like zcat).
–D must be used to uncompress a sorted dictionary file compressed using the –D option
of compress.
–f forces file to be uncompressed, regardless of whether or not a file with the same base
name already exists.
–V prints version number information for uncompress.
–v displays name of each file when it is uncompressed.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 An error occurred.
Messages
Message: compressed file is corrupt
Cause: You specified a compressed file that was damaged.
Action: Get a new copy of file and try again.
Commands and Utilities 1-629