Query: zcat
OS: aix
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Commands Reference, Volume 6, v - z zcat_Command Purpose Expands a compressed file to standard output. Syntax zcat [ -n ] [ -V ] [ File ... ] Description The zcat command allows the user to expand and view a com- pressed file without uncompressing that file. The zcat command does not re- name the expanded file or remove the .Z extension. The zcat command writes the expanded output to standard output. Flags -n Omits the compressed file header from the compressed file. -V Writes the current version and compile options to stan- dard error. Parameters File ... Specifies the compressed files to expand. Return Values If the zcat command exits with a status of 1 if any of the following events occur: * The input file was not produced by the compress command. * An input file cannot be read or an output file cannot be written. If no error occurs, the exit status is 0. Exit Status 0 Successful completion. >0 An error occurred. Examples To view the foo.Z file without uncompressing it, enter: zcat foo.Z The uncompressed contents of the foo.Z file are written to standard output. The file is not renamed. Related Information The compress command, pack command, uncompress command, unpack command. Commands in Operating system and device management. ________________________________________________________________________________ Commands Reference, Volume 6, v - z zcat_Command Purpose Expands a compressed file to standard output. Syntax zcat [ -n ] [ -V ] [ File ... ] Description The zcat command allows the user to expand and view a com- pressed file without uncompressing that file. The zcat command does not re- name the expanded file or remove the .Z extension. The zcat command writes the expanded output to standard output. Flags -n Omits the compressed file header from the compressed file. -V Writes the current version and compile options to stan- dard error. Parameters File ... Specifies the compressed files to expand. Return Values If the zcat command exits with a status of 1 if any of the following events occur: * The input file was not produced by the compress command. * An input file cannot be read or an output file cannot be written. If no error occurs, the exit status is 0. Exit Status 0 Successful completion. >0 An error occurred. Examples To view the foo.Z file without uncompressing it, enter: zcat foo.Z The uncompressed contents of the foo.Z file are written to standard output. The file is not renamed. Related Information The compress command, pack command, uncompress command, unpack command. Commands in Operating system and device management.
Related Man Pages |
---|
compress(1) - opensolaris |
uncompress(1) - osf1 |
zcat(1) - osf1 |
compress(1) - sunos |
compress(1) - plan9 |
Similar Topics in the Unix Linux Community |
---|
Multiple view of Apsedic to ASCII. |
checking for erros |
uncompressing file |
Is it possible to see the content of the compressed file? |
How zcat works? |