SYNOPSIS
uncompress
[
DESCRIPTION
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.
Options
-c -
writes decompressed output to the standard output (like zcat).
-D -
must be used to decompress a sorted dictionary file compressed using the
-D option of compress and mkszip. -f -
forces the file to be decompressed, even if a file with the same base name already exists.
-V -
prints the version number information for uncompress.
-v -
displays the name of each file when it is decompressed.
ENVIRONMENT VARIABLES
- TK_NTLINKS_OFF
-
MKS Toolkit supports hard links under Windows NT/2000/XP/2003/Vista 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.
DIAGNOSTICS
Possible exit status values are:
PORTABILITY
x/OPEN Portability Guide 4.0. Windows 2000. Windows XP. Windows Server 2003. Windows Vista.
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
the
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
- Commands:
- 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.2 Documentation Build 16.