This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: .tar.gz


cgf@bbc.com (Chris Faylor) writes:

>In article <199707280923.TAA12004@murlibobo.cs.mu.OZ.AU>,
>Fergus Henderson  <fjh@cs.mu.OZ.AU> wrote:
>>>    gunzip -c file.tar.gz | tar xf -
>>
>>Last time I checked (version b17.1), this did not work,
>>because pipes were opened in text mode, not binary mode.
>>Instead I had to use
>>
>>     gunzip file.tar.gz
>>     tar xf - file.tar
>>
>>Has this changed since b17.1?
>
>I don't think so.  But using the 'z' option to gnutar works as it
>always has:

Yes, but the 'z' option to tar is not portable, so I can't use that. :-(

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]