Newsgroups: comp.bugs.sys5 Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Pipeline synchronization - sh vs ksh Message-ID: <1989Aug6.051720.13048@utzoo.uucp> Organization: U of Toronto Zoology References: <14511@bfmny0.UUCP> Date: Sun, 6 Aug 89 05:17:20 GMT In article <14511@bfmny0.UUCP> tneff@bfmny0.UUCP (Tom Neff) writes: >However when I switched to Korn shell, which we also own (I just don't >normally use it for system scripts), lo and behold the shell waits for >ALL the pipeline processes to complete before continuing the script. >So, I am happy for now, but I don't understand what was happening with >/bin/sh. Can anyone shed some light? Historically, getting the parent/child relationships right in long pipelines has been difficult, and many older Bourne shells don't do it quite right. The most modern ones do, I think. -- 1961-1969: 8 years of Apollo. | Henry Spencer at U of Toronto Zoology 1969-1989: 20 years of nothing.| uunet!attcan!utzoo!henry henry@zoo.toronto.edu