catcomp

Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 28 December 2016
Index Return to Main Contents

 

NAME

catcomp - cat a file to stdout out of a compressed archive file

 

SYNOPSIS

edrc/bin/catcomp [ -h ]

catcomp file path

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

With catcomp you cat a file out of a compressed archive without decompressing the whole archive file. To list the contents of an archive file use the lscomp or llcomp command.

 

OPTIONS

-h
usage message

file
filename of the compressed archive file. This file is a file with the suffixes .tgz, .tar.gz, .tar.bz, .tar.bz2, .tar.Z, .tar.zip, .cpio, .cpio.gz, .cpio.bz, .cpio.bz2, .cpio.xz, .cpio.Z, .cpio.zip, .depot.gz, .depot, .epub, .zip, .jar, .whl, .rock, .rpm, .deb or .bw.

path
complete path and filename of the file inside the archive you like to display.

 

ENVIRONMENT

The following environment variables influence the behavior of the catcomp command:

$TMPDIR
if you like to display files that are bigger then the free disk space available in /tmp this variable has to be set to a directory with sufficient disk space available. You have to ensure that the directory you specify exists and is writeable by the user invoking the catcomp command.

 

EXIT STATUS

1
specified archive file not found.

2
file format of specified archive file not recognized. The file format is determined by the file suffix only.

4
usage displayed.

5
file not found in archive. If this error occurs, try also lscomp filename to figure out if the archive is probably corrupt.

6
error while decompressing a compressed archive. This error occurs if the file is not compressed with the command that is normally assigned with the file suffix.
For instance: the file my_archive.tar.gz was not really compressed with gzip or the file is corrupt.

 

SEE ALSO

edrcintro(1), lscomp(1), llcomp(1), ar(1), bzip2(1), bwcreate(1), bwcompare(1), zip(1), unzip(1), compress(1), cpio(1), dpkg(1), rpm(1), jar(1), tar(1), gzip(1), xz(1)

 

BUGS

-

 

AUTHOR

catcomp was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net . 

 

COPYRIGHT

Copyright © 2008 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
SEE ALSO
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 17:03:22 GMT, April 13, 2025