1ZCAT(1P)                   POSIX Programmer's Manual                  ZCAT(1P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       zcat — expand and concatenate data
13

SYNOPSIS

15       zcat [file...]
16

DESCRIPTION

18       The zcat utility shall write to standard output the  uncompressed  form
19       of  files  that  have been compressed using the compress utility. It is
20       the equivalent of uncompress -c.  Input files are not affected.
21

OPTIONS

23       None.
24

OPERANDS

26       The following operand shall be supported:
27
28       file      The pathname of a file previously processed by  the  compress
29                 utility.  If  file already has the .Z suffix specified, it is
30                 used as submitted. Otherwise, the .Z suffix  is  appended  to
31                 the filename prior to processing.
32

STDIN

34       The  standard  input  shall be used only if no file operands are speci‐
35       fied, or if a file operand is '-'.
36

INPUT FILES

38       Input files shall be compressed files that are in the  format  produced
39       by the compress utility.
40

ENVIRONMENT VARIABLES

42       The following environment variables shall affect the execution of zcat:
43
44       LANG      Provide  a  default  value for the internationalization vari‐
45                 ables that are unset or null. (See the Base Definitions  vol‐
46                 ume  of POSIX.1‐2017, Section 8.2, Internationalization Vari‐
47                 ables for the precedence  of  internationalization  variables
48                 used to determine the values of locale categories.)
49
50       LC_ALL    If  set  to  a non-empty string value, override the values of
51                 all the other internationalization variables.
52
53       LC_CTYPE  Determine the locale for the interpretation of  sequences  of
54                 bytes of text data as characters (for example, single-byte as
55                 opposed to multi-byte characters in arguments).
56
57       LC_MESSAGES
58                 Determine the locale that should be used to affect the format
59                 and  contents  of  diagnostic  messages  written  to standard
60                 error.
61
62       NLSPATH   Determine the location of message catalogs for the processing
63                 of LC_MESSAGES.
64

ASYNCHRONOUS EVENTS

66       Default.
67

STDOUT

69       The compressed files given as input shall be written on standard output
70       in their uncompressed form.
71

STDERR

73       The standard error shall be used only for diagnostic messages.
74

OUTPUT FILES

76       None.
77

EXTENDED DESCRIPTION

79       None.
80

EXIT STATUS

82       The following exit values shall be returned:
83
84        0    Successful completion.
85
86       >0    An error occurred.
87

CONSEQUENCES OF ERRORS

89       Default.
90
91       The following sections are informative.
92

APPLICATION USAGE

94       None.
95

EXAMPLES

97       None.
98

RATIONALE

100       None.
101

FUTURE DIRECTIONS

103       None.
104

SEE ALSO

106       compress, uncompress
107
108       The Base Definitions volume of  POSIX.1‐2017,  Chapter  8,  Environment
109       Variables
110
112       Portions  of  this text are reprinted and reproduced in electronic form
113       from IEEE Std 1003.1-2017, Standard for Information Technology --  Por‐
114       table  Operating System Interface (POSIX), The Open Group Base Specifi‐
115       cations Issue 7, 2018 Edition, Copyright (C) 2018 by the  Institute  of
116       Electrical  and  Electronics Engineers, Inc and The Open Group.  In the
117       event of any discrepancy between this version and the original IEEE and
118       The  Open Group Standard, the original IEEE and The Open Group Standard
119       is the referee document. The original Standard can be  obtained  online
120       at http://www.opengroup.org/unix/online.html .
121
122       Any  typographical  or  formatting  errors that appear in this page are
123       most likely to have been introduced during the conversion of the source
124       files  to  man page format. To report such errors, see https://www.ker
125       nel.org/doc/man-pages/reporting_bugs.html .
126
127
128
129IEEE/The Open Group                  2017                             ZCAT(1P)
Impressum