On 5/24/16 12:09 PM, Dan Douglas wrote: > On Tue, May 24, 2016 at 10:23 AM, Chet Ramey <chet.ra...@case.edu> wrote: >> It's not that Posix `allows' a subshell, it requires a subshell >> environment: > > Hm sorry I thought it was "may". This is kind of easy to confuse with > all the other unspecified things about side-effects from assignments > affecting subsequent assignments and commands when there's no command > name.
Yeah. A subshell environment doesn't automatically mean a subshell, but it means that changes in the subshell environment don't affect the parent. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/