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
11

NAME

13       zcat — expand and concatenate data
14

SYNOPSIS

16       zcat [file...]
17

DESCRIPTION

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

OPTIONS

24       None.
25

OPERANDS

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

STDIN

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

INPUT FILES

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

ENVIRONMENT VARIABLES

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

ASYNCHRONOUS EVENTS

67       Default.
68

STDOUT

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

STDERR

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

OUTPUT FILES

77       None.
78

EXTENDED DESCRIPTION

80       None.
81

EXIT STATUS

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

CONSEQUENCES OF ERRORS

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

APPLICATION USAGE

95       None.
96

EXAMPLES

98       None.
99

RATIONALE

101       None.
102

FUTURE DIRECTIONS

104       None.
105

SEE ALSO

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