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!
Created attachment 74695 [details] p7zip wrapper script.
fixed in version 4.33