Right that was sort of how I was thinking, although I'm not sure it'd be
easy to do.

And from the look of it they also have -J, but .xz is so rarely used
right now I'm not sure it is something we really need to copy...



On Tue, Oct 04, 2011 at 04:59:36PM -0600, Anthony J. Bentley wrote:
> On Tue, Oct 4, 2011 at 4:32 PM, Nicholas Marriott
> <[email protected]> wrote:
> > I agree.
> >
> > Or if we must have compression flags just have one flag and let tar
> > figure out the right tool to use. Having -Z -z -J -j etc etc is silly.
> 
> GNU tar no longer needs those flags... their "tar xf foo" works just
> fine whether foo is .tar, .tar.gz, or .tar.bz2.
> >
> >
> > On Tue, Oct 04, 2011 at 11:41:39PM +0200, Matthias Kilian wrote:
> >> On Tue, Oct 04, 2011 at 09:43:53PM +0200, Antoine Jacoutot wrote:
> >> > > > this diff adds a -J flag to tar that calls xz for 
> >> > > > compress/decompress.
> >> > > > Requires you to install the xz package on your system.
> >> > >
> >> > > No way.
> >> > >
> >> > > Base never depends on external things.
> >> >
> >> > Well pval added support for bzip2 years ago in a similar way...
> >>
> >> And i don't see the point in all those special flags for special
> >> (de)compression tools, not even for gzip.
> >>
> >> gzip -cd bla.tgz | tar tf -
> >>
> >> Same for other tools. Why add flags to tar for this?

Reply via email to