Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!helios!archone!byron From: byron@archone.tamu.edu (Byron Rakitzis) Newsgroups: comp.unix.shell Subject: Re: Bash, tar, and broken pipe Message-ID: <16345@helios.TAMU.EDU> Date: 20 May 91 03:40:36 GMT Sender: usenet@helios.TAMU.EDU Organization: College of Architecture, Texas A&M University. Lines: 23 Heinz (heinz@cc.univie.ac.at) sent me some personal mail which I could not reply to (is there another address I could use to get mail to you, Heinz?). However, he raised an interesting point: Given a pipeline foo | tar ft - it seems clear that tar must read to EOF in order to determine whether the tar file that foo writes has come to an end or not. Therefore a normal instance of foo | tar ft - should not cause a pipe to break, since tar will always terminate after foo. I have no clue why tar is exiting prematurely. If anyone can shed light on the matter, I think Heinz and I would appreciate it. (Servus, Heinz!) -- Byron Rakitzis byron@archone.tamu.edu