Package: p7zip
Version: 4.29.dfsg-1
Severity: wishlist
Tags: patch

Hi,

I've written a small wrapper script that provides gzip-like interface:

[EMAIL PROTECTED]:/tmp/7z$ echo foo | ./p7zip | file -
/dev/stdin: 7z archive data, version 0.2
[EMAIL PROTECTED]:/tmp/7z$ echo foo | ./p7zip | ./p7zip -d
foo

It sort off works around bug #323932 (Cannot combine -si and -so options) by
using temporary files.  But since streaming isn't supported in 7z, it's not
very efficient.

Later one could patch tar appropiately so that something like this can be done:

[EMAIL PROTECTED]:/tmp/7z$ PATH=.:$PATH tar -cIvf bar.7z ./bar
./bar
[EMAIL PROTECTED]:/tmp/7z$ PATH=.:$PATH tar -xIvf bar.7z
./bar

Please could you add this to the package?  It'd be nice if you sent it upstream
also.  Thanks!

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to C)

Versions of packages p7zip depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-2  GCC support library
ii  libstdc++6                    4.0.2-2    The GNU Standard C++ Library v3

p7zip recommends no packages.

-- no debconf information

Attachment: p7zip
Description: application/shellscript

Reply via email to