[Reopening this old thread due to http://bugs.debian.org/702886 and
because some of the issues seem to be gone nowadays.]
On Tue, Feb 15, 2011 at 06:42:51PM +0100, Antonio Diaz Diaz wrote:
> Ole Tange wrote:
> >Also it would be nice if Zutils supported zip and 7z (see the attached
> >zzcat on how that can be done).
Count me in for compress'ed files, i.e. those with .Z suffix,
especially because gzip's zcat is able to do that. -- see my Debian
bug report above.
Same counts for LZMA compressed files: xzcat can uncompress them, but
zutils only can handle xz compressed files. It's just less a problem
than with .Z files because gzip's zcat can't do that anyway. ;-)
> IIRC neither zip nor 7zip support stdin.
7zr supports stdin and stdout. From the 7zr man page:
-si Read data from StdIn (eg: tar cf - directory | 7zr a -si
-so Write data to StdOut (eg: 7zr x -so directory.tar.7z |
tar xf -)
Maybe the following is even more useful for zutils:
/usr/bin/p7zip: a gzip like wrapper around 7zr.
And from the unzip man page:
-c extract files to stdout/screen (``CRT''). This
option is similar to the -p option except that the name
of each file is printed as it is extracted, the -a
option is allowed, and ASCII-EBCDIC conversion is
automatically performed if appropriate. This option is
not listed in the unzip usage screen.
I rather see the problem with fact that zip files can contain multiple
> Also 7zip is a windows-only program,
There is a Unix port named p7zip (from whose man page I cited above).
Kind regards, Axel
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | a...@deuxchevaux.org (Mail)
X See http://www.asciiribbon.org/ | a...@noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
Zutils-bug mailing list