ZCAT(1) | User Commands | ZCAT(1) |
zcat - decompress and concatenate files to standard output
zcat [options] [files]
zcat copies each file argument to standard output in sequence. If any file given is compressed, its decompressed content is copied. If a file given does not exist, and its name does not end with one of the known extensions, zcat tries the compressed file names corresponding to the formats supported. If a file fails to decompress, zcat continues copying the rest of the files.
If a file is specified as '-', data are read from standard input, decompressed if needed, and sent to standard output. Data read from standard input must be of the same type; all uncompressed or all in the same compressed format.
If no files are specified, recursive searches examine the current working directory, and nonrecursive searches read standard input.
The formats supported are bzip2, gzip, lzip, and xz.
Exit status is 0 if no errors occurred, 1 otherwise.
Report bugs to zutils-bug@nongnu.org
Zutils home page: http://www.nongnu.org/zutils/zutils.html
Copyright © 2021 Antonio Diaz Diaz. License GPLv2+: GNU GPL
version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
January 2021 | zutils 1.10 |