🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #48

Re: Pipeline synchronization - sh vs ksh

#48
From: Henry Spencer
Date: Sun, 06 Aug 1989 05:17
13 lines
1043 bytes
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
Technical Details
Message-ID: <1989Aug6.051720.13048@utzoo.uucp>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <14511@bfmny0.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: comp.bugs.sys5
Path: arc1-ca.pugleaf.net!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