1ZCAT(1P) POSIX Programmer's Manual ZCAT(1P)
2
3
4
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
12 zcat - expand and concatenate data
13
15 zcat [file...]
16
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
23 None.
24
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 used
30 as submitted. Otherwise, the .Z suffix is appended to the file‐
31 name prior to processing.
32
33
35 The standard input shall be used only if no file operands are speci‐
36 fied, or if a file operand is '-' .
37
39 Input files shall be compressed files that are in the format produced
40 by the compress utility.
41
43 The following environment variables shall affect the execution of zcat:
44
45 LANG Provide a default value for the internationalization variables
46 that are unset or null. (See the Base Definitions volume of
47 IEEE Std 1003.1-2001, Section 8.2, Internationalization Vari‐
48 ables for the precedence of internationalization variables used
49 to determine the values of locale categories.)
50
51 LC_ALL If set to a non-empty string value, override the values of all
52 the other internationalization variables.
53
54 LC_CTYPE
55 Determine the locale for the interpretation of sequences of
56 bytes of text data as characters (for example, single-byte as
57 opposed to multi-byte characters in arguments).
58
59 LC_MESSAGES
60 Determine the locale that should be used to affect the format
61 and contents of diagnostic messages written to standard error.
62
63 NLSPATH
64 Determine the location of message catalogs for the processing of
65 LC_MESSAGES .
66
67
69 Default.
70
72 The compressed files given as input shall be written on standard output
73 in their uncompressed form.
74
76 The standard error shall be used only for diagnostic messages.
77
79 None.
80
82 None.
83
85 The following exit values shall be returned:
86
87 0 Successful completion.
88
89 >0 An error occurred.
90
91
93 Default.
94
95 The following sections are informative.
96
98 None.
99
101 None.
102
104 None.
105
107 None.
108
110 compress, uncompress
111
113 Portions of this text are reprinted and reproduced in electronic form
114 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
115 -- Portable Operating System Interface (POSIX), The Open Group Base
116 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
117 Electrical and Electronics Engineers, Inc and The Open Group. In the
118 event of any discrepancy between this version and the original IEEE and
119 The Open Group Standard, the original IEEE and The Open Group Standard
120 is the referee document. The original Standard can be obtained online
121 at http://www.opengroup.org/unix/online.html .
122
123
124
125IEEE/The Open Group 2003 ZCAT(1P)