2025-02-24 06:03:38 +01:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
2025-02-24 06:04:46 +01:00
|
|
|
.TH ZCAT "1" "November 2024" "zutils 1.14-rc1" "User Commands"
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH NAME
|
2025-02-24 05:47:56 +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:30 +01:00
|
|
|
[\fI\,options\/\fR] [\fI\,files\/\fR]
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH DESCRIPTION
|
2025-02-24 05:59:17 +01:00
|
|
|
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
|
2025-02-24 06:03:38 +01:00
|
|
|
formats supported until one is found. If a file fails to decompress, zcat
|
|
|
|
continues copying the rest of the files.
|
2025-02-24 05:53:08 +01:00
|
|
|
.PP
|
2025-02-24 05:57:59 +01:00
|
|
|
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
|
2025-02-24 05:59:17 +01:00
|
|
|
same compressed format.
|
2025-02-24 05:40:39 +01:00
|
|
|
.PP
|
2025-02-24 05:57:59 +01:00
|
|
|
If no files are specified, recursive searches examine the current
|
|
|
|
working directory, and nonrecursive searches read standard input.
|
|
|
|
.PP
|
2025-02-24 06:00:49 +01:00
|
|
|
The formats supported are bzip2, gzip, lzip, xz, and zstd.
|
2025-02-24 04:42:45 +01:00
|
|
|
.PP
|
2025-02-24 05:59:17 +01:00
|
|
|
Exit status is 0 if no errors occurred, 1 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:36 +01:00
|
|
|
.TP
|
2025-02-24 05:01:08 +01:00
|
|
|
\fB\-A\fR, \fB\-\-show\-all\fR
|
2025-02-24 05:40:39 +01:00
|
|
|
equivalent to '\-vET'
|
2025-02-24 05:01:08 +01:00
|
|
|
.TP
|
|
|
|
\fB\-b\fR, \fB\-\-number\-nonblank\fR
|
|
|
|
number nonblank output lines
|
|
|
|
.TP
|
2025-02-24 06:04:46 +01:00
|
|
|
\fB\-c\fR, \fB\-\-stdout\fR
|
|
|
|
ignored, for gzip compatibility
|
|
|
|
.TP
|
|
|
|
\fB\-d\fR, \fB\-\-decompress\fR
|
|
|
|
ignored, for gzip compatibility
|
|
|
|
.TP
|
2025-02-24 05:01:08 +01:00
|
|
|
\fB\-e\fR
|
2025-02-24 05:40:39 +01:00
|
|
|
equivalent to '\-vE'
|
2025-02-24 05:01:08 +01:00
|
|
|
.TP
|
|
|
|
\fB\-E\fR, \fB\-\-show\-ends\fR
|
2025-02-24 05:40:39 +01:00
|
|
|
display '$' at end of each line
|
|
|
|
.TP
|
2025-02-24 05:51:09 +01:00
|
|
|
\fB\-M\fR, \fB\-\-format=\fR<list>
|
2025-02-24 05:52:24 +01:00
|
|
|
process only the formats in <list>
|
2025-02-24 05:01:08 +01:00
|
|
|
.TP
|
|
|
|
\fB\-n\fR, \fB\-\-number\fR
|
|
|
|
number all output lines
|
|
|
|
.TP
|
2025-02-24 05:43:00 +01:00
|
|
|
\fB\-N\fR, \fB\-\-no\-rcfile\fR
|
|
|
|
don't read runtime configuration file
|
|
|
|
.TP
|
2025-02-24 05:51:09 +01:00
|
|
|
\fB\-O\fR, \fB\-\-force\-format=\fR<fmt>
|
2025-02-24 06:02:19 +01:00
|
|
|
force the input format
|
2025-02-24 05:51:09 +01:00
|
|
|
.TP
|
2025-02-24 05:01:08 +01:00
|
|
|
\fB\-q\fR, \fB\-\-quiet\fR
|
|
|
|
suppress all messages
|
|
|
|
.TP
|
2025-02-24 04:58:36 +01:00
|
|
|
\fB\-r\fR, \fB\-\-recursive\fR
|
|
|
|
operate recursively on directories
|
2025-02-24 05:01:08 +01:00
|
|
|
.TP
|
2025-02-24 05:57:59 +01:00
|
|
|
\fB\-R\fR, \fB\-\-dereference\-recursive\fR
|
|
|
|
recursively follow symbolic links
|
|
|
|
.TP
|
2025-02-24 05:01:08 +01:00
|
|
|
\fB\-s\fR, \fB\-\-squeeze\-blank\fR
|
|
|
|
never more than one single blank line
|
|
|
|
.TP
|
|
|
|
\fB\-t\fR
|
2025-02-24 05:40:39 +01:00
|
|
|
equivalent to '\-vT'
|
2025-02-24 05:01:08 +01:00
|
|
|
.TP
|
|
|
|
\fB\-T\fR, \fB\-\-show\-tabs\fR
|
2025-02-24 05:40:39 +01:00
|
|
|
display TAB characters as '^I'
|
2025-02-24 05:01:08 +01:00
|
|
|
.TP
|
|
|
|
\fB\-v\fR, \fB\-\-show\-nonprinting\fR
|
2025-02-24 05:40:39 +01:00
|
|
|
use '^' and 'M\-' notation, except for LF and TAB
|
2025-02-24 05:01:08 +01:00
|
|
|
.TP
|
|
|
|
\fB\-\-verbose\fR
|
|
|
|
verbose mode (show error messages)
|
2025-02-24 05:43:00 +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 06:00:49 +01:00
|
|
|
.TP
|
|
|
|
\fB\-\-zst=\fR<command>
|
|
|
|
set compressor and options for zstd format
|
2025-02-24 06:02:19 +01:00
|
|
|
.PP
|
|
|
|
Valid formats for options '\-M' and '\-O' are 'bz2', 'gz', 'lz', 'xz', 'zst',
|
|
|
|
and 'un' for uncompressed.
|
2025-02-24 04:42:45 +01:00
|
|
|
.SH "REPORTING BUGS"
|
2025-02-24 04:44:01 +01:00
|
|
|
Report bugs to zutils\-bug@nongnu.org
|
2025-02-24 05:01:08 +01:00
|
|
|
.br
|
2025-02-24 04:44:01 +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 06:04:06 +01:00
|
|
|
Copyright \(co 2024 Antonio Diaz Diaz.
|
2025-02-24 05:47:56 +01:00
|
|
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
2025-02-24 05:01:08 +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.
|
2025-02-24 06:00:49 +01:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
The full documentation for
|
|
|
|
.B zcat
|
|
|
|
is maintained as a Texinfo manual. If the
|
|
|
|
.B info
|
|
|
|
and
|
|
|
|
.B zcat
|
|
|
|
programs are properly installed at your site, the command
|
|
|
|
.IP
|
|
|
|
.B info zutils
|
|
|
|
.PP
|
|
|
|
should give you access to the complete manual.
|