[PATCH 1 of 1] scripts/functions: extract: portable call for old and defective tars

Titus von Boxberg titus@v9g.de
Tue Nov 22 18:08:00 GMT 2011


Am 22.11.2011 um 18:09 schrieb Yann E. MORIN:

> Titus, All,
> 
> On Tuesday 22 November 2011 10:30:23 Titus von Boxberg wrote:
>> # HG changeset patch
>> # User Titus von Boxberg <titus@v9g.de>
>> # Date 1321952890 -3600
>> # Node ID ac30f53965908a4341a5cf21ba67d707a8f0d68e
>> # Parent  3c1a3fc051cb46d1bad9cbe2a601c5c4aa48876c
>> scripts/functions: extract: portable call for old and defective tars
> 
> Why not use:
>  xz    : xzcat
>  lzma  : lzcat
>  bzip2 : bzcat
>  gzip  : zcat
> 
> I believe that, if  a specific compressor is available, the corresponding
> 'cat' counterpart is also available. At least, that has been my experience
> with all the "standard" distro I've used.
Yann,

you gave the reason yourself:
That <compressor>cat would always be available is just belief.

The availability of <compressor -dc> is granted by definition.

Regards
Titus


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list