SYNOPSIS
zcat
DESCRIPTION
zcat takes one or more compressed data files as input. The data files should be compressed with either the compress command or the mkszip command. If no data files are specified on the command line, zcat reads the standard input. You can also pass the standard input to zcat by specifying - as one of the files on the command line.
zcat decompresses the data of all the input files, and writes the result on the standard output. zcat concatenates the data in the same way cat does.
The names of compressed input files are expected to end in .Z, .gz, or .bz2. If a specified input file name does not end in this suffix, zcat searches for a file named file.Z, file.gz, or file.bz2. For example, if the command line specifies file abc, zcat looks for abc.Z, abc.gz, or abc.bz2. If none of these are found, zcat uses abc with no extension.
zcat is equivalent to
uncompress -c
Options
-D -
decompresses files that were compressed using the dictionary option of compress and mkszip.
-V -
displays the version number of zcat.
-v -
displays the name of each file as 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
All UNIX systems. Windows 2000. Windows XP. Windows Server 2003. Windows Vista.
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, gzip, mkszip, uncompress, unpack, unzip, zip, zipinfo
MKS Toolkit Backup and Tape Handling Solutions Guide
MKS Toolkit 9.2 Documentation Build 16.