From: michael AT weiser DOT saale-net DOT de (Michael Weiser) Subject: Re: b19.x coolview: question about "broken pipe" 10 Sep 1998 19:54:22 -0700 Message-ID: <360528da.14343354.cygnus.gnu-win32@mail.weiser.saale-net.de> References: <199809081219 DOT NAA11988 AT woof DOT man DOT harlequin DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit To: gnu-win32 AT cygnus DOT com Hello io, you wrote: >>bash2$ gzip -cd d:/users/io/work/build/archive/foo.tar.gz | tar tvf - >>-rw-r--r-- 544/Domain Users 698756 1998-09-08 11:42 basis.img >>-rw-r--r-- 544/Domain Users 3607012 1998-09-08 11:41 batch.img >>-rw-r--r-- 544/Domain Users 822512 1998-09-08 11:43 foreign.img >>Broken pipe >The problem goes away if run using "#!/bin/ash" instead. >What is the significance of the "Broken pipe" message? This seems to be the bash-text-mode-pipes-problem again: Inside bash all pipes run in text mode where \n gets converted to \r\n so that your binary (tar) files get corrupted. Perhaps its something completely different [;)], but anyway you should be able to solve it using 'tar -xzvf ' or 'tar --use-compress-program=gzip -xvf '. At least it works for me. -- bye, Michael - 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".