tar-1.15.1-bz2-autodetect.patch

Matthias B. matthias at winterdrache.de
Mon Jul 17 12:43:09 PDT 2006


On Mon, 17 Jul 2006 14:11:44 -0500 Randy McMurchy <lfs-user at mcmurchy.com>
wrote:

> Matthias B. wrote these words on 07/17/06 13:51 CST:
> > I thought you might be interested in one of my "Can't live without
> > this anymore" patches. Enjoy.
> >
> > Description: 
> >   tar xzf foo.tar.bz2  - if you don't see what's wrong with this, you
> >   need this patch. It makes the "z" option behave like "j" if the
> >   archive name given ends in ".bz2". IOW, forget "j", always use "z".
> 
> Or, don't use either j or z and simply use xf from now on and don't
> worry about it. TAR doesn't need z or j any more, it figures it out
> on its own (at least versions of TAR in the last year or so, anyway).
> 
> :-)

Nice. But

1. that doesn't work for archive creation.

2. that doesn't get rid of my habit of including "z". Old dogs and new
tricks, you know :-)

So I still can't live without my patch.

MSB

-- 
You cannot teach the colour-blind to love colours.




More information about the patches mailing list