bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sub shell mit pipes


From: Chet Ramey
Subject: Re: Sub shell mit pipes
Date: Wed, 11 Aug 2004 16:50:17 -0400
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Paul Jarc wrote:

Enrique Perez-Terron <enrio@online.no> wrote:

Is there any formal requirement dictating that the 'while' statement
shall be executed in a sub-shell?


Not that I can find, but I imagine it makes the code simpler.

Think job control.  Different elements of pipelines running in
different process groups makes job control impossible.

Posix has traditionally required that each element of a pipeline run
in a `subshell environment', but allowed the ksh behavior as an
extension.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]