Pipeline synchronization - sh vs ksh
Henry Spencer
henry at utzoo.uucp
Sun Aug 6 15:17:20 AEST 1989
In article <14511 at bfmny0.UUCP> tneff at 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 at zoo.toronto.edu
More information about the Comp.bugs.sys5
mailing list