uncompress expands compressed data written by the
compression programs compress and mkszip.
Data is read from file or the standard input.
The name of the file to be decompressed usually ends with .Z
.gz, or .bz2.
If file doesn't have one of these extensions,
uncompress looks for file.Z,
file.gz, and file.bz2
(in that order).
uncompress places the decompressed output in a file with
the same name but without the extension.
If this file already exists,
uncompress asks if you want to overwrite it,
unless you specify the
For LZW-compressed files, the number of bits of compression is encoded in the compressed data, so the uncompress command automatically uses the correct number of bits. This includes the 9-14 bit compression range specified by XPG.
writes decompressed output to the standard output (like zcat).
forces the file to be decompressed, even if a file with the same base name already exists.
puts the output file in the specified output_directory.
specifies that the input file is not to be removed.
prints the version number information for uncompress.
displays the name of each file when it is decompressed.
MKS Toolkit supports hard links under Windows NT/2000/XP/2003/Vista/7/2008/8/2012 on NTFS file systems. There is a slight loss of performance for this support. If you do not require hard link support, you should set and export the environment variable TK_NTLINKS_OFF to disable this support.
Possible exit status values are:
Failure due to any of the following:
x/OPEN Portability Guide 4.0. Windows 2000. Windows XP. Windows Server 2003. Windows Vista. Windows 7. Windows Server 2008. Windows 8. Windows Server 2012.
uncompress is found on many UNIX systems. That version allows decompression in place as well as to the standard output.
The support for .gz and .bz2 files and
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
- bzdiff, bzgrep, bzip2, bzmore, compress, cpio, gzip, mkszip, pax, tar, unpack, unzip, zcat, zip, zipinfo
MKS Toolkit Backup and Tape Handling Solutions Guide
MKS Toolkit 9.5 Documentation Build 3.