On Thu, Apr 26, 2001 at 07:23:30PM +0100, Brian Somers wrote:
> > On Thu, Apr 26, 2001 at 04:42:44PM +0100, Brian Somers wrote:
> > > > On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote:
> > > > > Please review the following code from OpenBSD; it adds -z and -Z
> > > > > options to pax(1) to gzip(1) the archives created.
> > > > 
> > > > Sigh.  They could have generalized this just a little and supported Bzip2
> > > > at the same time.  Please let me know after you commit this so I can do
> > > > this.
> > > 
> > > Is this necessary ?  What's the problem with using a pipe ?  Isn't 
> > > this the same argument as the xargs one we've just gotten through ?
> > 
> > What's wrong with:
> >     tar cf - foo | gzip >foo.tar.gz
> >     gzip -dc foo.tar.gz | tar xf -
> > 
> > Someone deemed them too inconvient for the number of times they are
> > invoked.  I'm not going to enter that discussion, but _if_ gzip support
> > is added, I feel bzip2 support should be added to be orthogonal with
> > today's uses.
> 
> Agreed.

Fair enough; would be a trivial thing to do.  Increased compatibility
with tar and cpio seems to have been one of the goals of OpenBSD's
work on pax(1); I'm intending to go through and pull over the other
bugfixes and extensions too.

Kris

PGP signature

Reply via email to