From: io AT harlequin DOT co DOT uk (io) Subject: b19.x coolview: question about "broken pipe" 9 Sep 1998 03:23:09 -0700 Message-ID: <199809081219.NAA11988.cygnus.gnu-win32@woof.man.harlequin.co.uk> To: gnu-win32 AT cygnus DOT com The following example [may] fail [depending on the number of entries in it] >#!/bin/sh >gzip -c -d d:/users/io/work/build/archive/foo.tar.gz | tar tvf - Running this directly in a bash console: >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 Running this as a script in a bash console: >bash2$ foo >-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 >foo: line 3: 30264 Broken pipe gzip -c -d d:/users/io/work/build/archive/foo.tar.gz > 30265 Done | tar tvf - The problem goes away if run using "#!/bin/ash" instead. What is the significance of the "Broken pipe" message? Schzen - 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".