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

NAME

6       zcat - expand and concatenate data
7

SYNOPSIS

9       zcat [file...]
10

DESCRIPTION

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

OPTIONS

17       None.
18

OPERANDS

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

STDIN

29       The standard input shall be used only if no file  operands  are  speci‐
30       fied, or if a file operand is '-' .
31

INPUT FILES

33       Input  files  shall be compressed files that are in the format produced
34       by the compress utility.
35

ENVIRONMENT VARIABLES

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

ASYNCHRONOUS EVENTS

63       Default.
64

STDOUT

66       The compressed files given as input shall be written on standard output
67       in their uncompressed form.
68

STDERR

70       The standard error shall be used only for diagnostic messages.
71

OUTPUT FILES

73       None.
74

EXTENDED DESCRIPTION

76       None.
77

EXIT STATUS

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

CONSEQUENCES OF ERRORS

87       Default.
88
89       The following sections are informative.
90

APPLICATION USAGE

92       None.
93

EXAMPLES

95       None.
96

RATIONALE

98       None.
99

FUTURE DIRECTIONS

101       None.
102

SEE ALSO

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)
Impressum