delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/28/02:56:51

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: .tar.gz
28 Jul 1997 02:56:51 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199707280923.TAA12004.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU>
References: <199707280224 DOT MAA02916 AT rdirs7 DOT hrl DOT com DOT au>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

>If you are not using GNU tar then you may have to unzip the file
>before untarring
>
>    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?

--
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT 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 AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019