[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [PATCH] Re: Re: [Bug-tar] [PATCH] automatically find and use com
From: |
Ingmar Schuster |
Subject: |
Re: Re: [PATCH] Re: Re: [Bug-tar] [PATCH] automatically find and use compression filter + bzip2 filter |
Date: |
Fri, 1 Aug 2003 08:54:37 +0200 |
Paul Eggert <address@hidden> schrieb am 31.07.03 21:27:13:
>
> <address@hidden> writes:
>
> > Paul Eggert schrieb am 30.07.03 22:57:02:
> > >
> > > Thanks for the suggestion, but I think it'd be better to have tar
> > > automatically decompress when reading archives, without the need for
> > > any special option. This would be an even greater convenience, and it
> > > should be an upward compatible change.
> > >
> > Easy! Use this patch.
>
> Thanks, but I'd rather have a solution that works regardless of the file name.
> Even if the archive comes from standard input, e.g. "cat foo.tgz | tar xf -",
> tar should automatically decompress it.
I agree that it would be much better, but quite hacky I guess. Either writing
some code which recognizes the filetype in tar's sourcetree, which would be
(IMHO) bloat, or patching gzip, bzip2, compress etc. to provide an extra-option
which takes only a filename and tells you wether it seems like the right format
(hm. this would'nt be hacky at all. Other programs besides tar could also find
this usefull).
Greetings
Ingmar
______________________________________________________________________________
Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Re: [PATCH] Re: Re: [Bug-tar] [PATCH] automatically find and use compression filter + bzip2 filter,
Ingmar Schuster <=