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