public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Titus von Boxberg <titus@v9g.de>
To: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Cc: crossgcc@sourceware.org
Subject: Re: [PATCH 0 of 1] using tar with xz and lzma archives
Date: Fri, 18 Nov 2011 11:16:00 -0000	[thread overview]
Message-ID: <7C87AE3D-1B2F-43B1-8F36-3CC7FD82A69C@v9g.de> (raw)
In-Reply-To: <201111171946.33409.yann.morin.1998@anciens.enib.fr>

Am 17.11.2011 um 19:46 schrieb Yann E. MORIN:

> Titus, All,
> 
> On Thursday 17 November 2011 15:27:23 Titus von Boxberg wrote:
>> on my machine tar --use-decompress-program does not work.
> 
> What tar is this?
> 
> (Note: this is --use-compress-program, not --use-_de_compress-program)
this is bsdtar 2.6.2 on 10.6 and bsdtar 2.8.3 on 10.7

> 
> GNU tar supports --use-compress-program since at least 2004.
> 
> The tar in MacOS-X does document this option:
> https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/tar.1.html
> 
>> However, -J or --lzma does work.
correction: -J and --lzma only work with bsdtar 2.8.3 on 10.7
tar on 10.6 seems to not understand any of these options.

I assume that
- the man page is not appropriate for the implementation
- the implementation on OSX 10.7 is buggy since it does
  accept the --use-compress-program but fails.

Now, if also Lenny is not really up to date,
I'd say the most compatible way would be 
to (always) use
<compressor> -dc | tar -f -

What do you think?

Regards
Titus


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

      reply	other threads:[~2011-11-18 11:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-17 14:30 Titus von Boxberg
2011-11-17 14:30 ` [PATCH 1 of 1] scripts/functions: tar: use -J or --lzma instead of --use-compress-program Titus von Boxberg
2011-11-17 18:46 ` [PATCH 0 of 1] using tar with xz and lzma archives Yann E. MORIN
2011-11-18 11:16   ` Titus von Boxberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7C87AE3D-1B2F-43B1-8F36-3CC7FD82A69C@v9g.de \
    --to=titus@v9g.de \
    --cc=crossgcc@sourceware.org \
    --cc=yann.morin.1998@anciens.enib.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).