Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115508 - gzip-like wrapper for app-arch/p7zip
Summary: gzip-like wrapper for app-arch/p7zip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Radoslaw Stachowiak (RETIRED)
URL: http://www.freebsd.org/cgi/cvsweb.cgi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 02:10 UTC by Robert Millan
Modified: 2006-03-18 07:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
p7zip wrapper script. (p7zip,1.18 KB, text/x-c)
2005-12-14 02:10 UTC, Robert Millan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Millan 2005-12-14 02:10:06 UTC
This is a small wrapper script for 7z/7za.  Its purpose is to provide a 
command-line interface similar to that of gzip and bzip2, so that you can do 
things like: 
 
  $ echo foo | p7zip > foo.7z 
  $ p7zip -d < foo.7z 
  foo 
 
Since 7z/7za doesn't really support streaming, and it has serious issues when 
handling stdin/stdout, p7zip implements a few workarounds.  When using both 
stdin and stdout at the same time, p7zip will create a temporary file so that 
7z/7za can pipe through it (this is the only solution untill proper streaming 
is implemented in 7z). 
 
Even though upstream refused to add it to p7zip distribution, I intend to 
standarise this as the "p7zip" command.  Currently it's shipped in both Debian 
and FreeBSD.  When it is in Gentoo also we could send a patch to gnu tar 
maintainers to get -I flag (as analogous to -z or -j), hence popularising 
tar.7z archives (which on Un*x are more desirable than native 7z archiving). 
 
Thank you!
Comment 1 Robert Millan 2005-12-14 02:10:55 UTC
Created attachment 74695 [details]
p7zip wrapper script.
Comment 2 Radoslaw Stachowiak (RETIRED) gentoo-dev 2006-03-18 07:04:48 UTC
fixed in version 4.33