2025-02-24 05:49:37 +01:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.1.
|
2025-02-24 05:56:09 +01:00
|
|
|
.TH ZCAT "1" "February 2018" "zcat (zutils) 1.7" "User Commands"
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH NAME
|
2025-02-24 05:48:02 +01:00
|
|
|
zcat \- decompress and concatenate files to standard output
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B zcat
|
2025-02-24 05:49:37 +01:00
|
|
|
[\fI\,options\/\fR] [\fI\,files\/\fR]
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH DESCRIPTION
|
2025-02-24 05:53:15 +01:00
|
|
|
Zcat copies each given file to standard output. If any given file is
|
|
|
|
compressed, its decompressed content is used. If a given file does not
|
|
|
|
exist, and its name does not end with one of the known extensions, zcat
|
|
|
|
tries the compressed file names corresponding to the supported formats.
|
|
|
|
.PP
|
2025-02-24 05:54:41 +01:00
|
|
|
If no files are specified, or if a file is specified as '\-', data are
|
2025-02-24 05:53:15 +01:00
|
|
|
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 compression format.
|
2025-02-24 05:40:46 +01:00
|
|
|
.PP
|
|
|
|
The supported formats are bzip2, gzip, lzip and xz.
|
2025-02-24 04:42:45 +01:00
|
|
|
.PP
|
2025-02-24 05:43:06 +01:00
|
|
|
Exit status is 0 if no errors occurred, non\-zero otherwise.
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
display this help and exit
|
|
|
|
.TP
|
|
|
|
\fB\-V\fR, \fB\-\-version\fR
|
|
|
|
output version information and exit
|
2025-02-24 04:58:43 +01:00
|
|
|
.TP
|
2025-02-24 05:04:07 +01:00
|
|
|
\fB\-A\fR, \fB\-\-show\-all\fR
|
2025-02-24 05:40:46 +01:00
|
|
|
equivalent to '\-vET'
|
2025-02-24 05:04:07 +01:00
|
|
|
.TP
|
|
|
|
\fB\-b\fR, \fB\-\-number\-nonblank\fR
|
|
|
|
number nonblank output lines
|
|
|
|
.TP
|
|
|
|
\fB\-e\fR
|
2025-02-24 05:40:46 +01:00
|
|
|
equivalent to '\-vE'
|
2025-02-24 05:04:07 +01:00
|
|
|
.TP
|
|
|
|
\fB\-E\fR, \fB\-\-show\-ends\fR
|
2025-02-24 05:40:46 +01:00
|
|
|
display '$' at end of each line
|
|
|
|
.TP
|
2025-02-24 05:51:15 +01:00
|
|
|
\fB\-M\fR, \fB\-\-format=\fR<list>
|
2025-02-24 05:52:30 +01:00
|
|
|
process only the formats in <list>
|
2025-02-24 05:04:07 +01:00
|
|
|
.TP
|
|
|
|
\fB\-n\fR, \fB\-\-number\fR
|
|
|
|
number all output lines
|
|
|
|
.TP
|
2025-02-24 05:43:06 +01:00
|
|
|
\fB\-N\fR, \fB\-\-no\-rcfile\fR
|
|
|
|
don't read runtime configuration file
|
|
|
|
.TP
|
2025-02-24 05:51:15 +01:00
|
|
|
\fB\-O\fR, \fB\-\-force\-format=\fR<fmt>
|
|
|
|
force given format (bz2, gz, lz, xz)
|
|
|
|
.TP
|
2025-02-24 05:04:07 +01:00
|
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
|
|
suppress all messages
|
|
|
|
.TP
|
2025-02-24 04:58:43 +01:00
|
|
|
\fB\-r\fR, \fB\-\-recursive\fR
|
|
|
|
operate recursively on directories
|
2025-02-24 05:04:07 +01:00
|
|
|
.TP
|
|
|
|
\fB\-s\fR, \fB\-\-squeeze\-blank\fR
|
|
|
|
never more than one single blank line
|
|
|
|
.TP
|
|
|
|
\fB\-t\fR
|
2025-02-24 05:40:46 +01:00
|
|
|
equivalent to '\-vT'
|
2025-02-24 05:04:07 +01:00
|
|
|
.TP
|
|
|
|
\fB\-T\fR, \fB\-\-show\-tabs\fR
|
2025-02-24 05:40:46 +01:00
|
|
|
display TAB characters as '^I'
|
2025-02-24 05:04:07 +01:00
|
|
|
.TP
|
|
|
|
\fB\-v\fR, \fB\-\-show\-nonprinting\fR
|
2025-02-24 05:40:46 +01:00
|
|
|
use '^' and 'M\-' notation, except for LF and TAB
|
2025-02-24 05:04:07 +01:00
|
|
|
.TP
|
|
|
|
\fB\-\-verbose\fR
|
|
|
|
verbose mode (show error messages)
|
2025-02-24 05:43:06 +01:00
|
|
|
.TP
|
|
|
|
\fB\-\-bz2=\fR<command>
|
|
|
|
set compressor and options for bzip2 format
|
|
|
|
.TP
|
|
|
|
\fB\-\-gz=\fR<command>
|
|
|
|
set compressor and options for gzip format
|
|
|
|
.TP
|
|
|
|
\fB\-\-lz=\fR<command>
|
|
|
|
set compressor and options for lzip format
|
|
|
|
.TP
|
|
|
|
\fB\-\-xz=\fR<command>
|
|
|
|
set compressor and options for xz format
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH "REPORTING BUGS"
|
2025-02-24 04:51:19 +01:00
|
|
|
Report bugs to zutils\-bug@nongnu.org
|
2025-02-24 05:04:07 +01:00
|
|
|
.br
|
2025-02-24 04:51:19 +01:00
|
|
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH COPYRIGHT
|
2025-02-24 05:56:09 +01:00
|
|
|
Copyright \(co 2018 Antonio Diaz Diaz.
|
2025-02-24 05:48:02 +01:00
|
|
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
2025-02-24 05:04:07 +01:00
|
|
|
.br
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
|
|
There is NO WARRANTY, to the extent permitted by law.
|