On 2/20/12 4:17 AM, Dan Douglas wrote:
> On Sunday, February 19, 2012 04:25:46 PM Chet Ramey wrote:
> 
>> I assume you mean the first one.  It doesn't matter whether or not the
>> variable is set as a side effect of the redirection -- it's in a
>> subshell and disappears.
>>
>> Chet
> 
> Forgot to mention though, It's possible in ksh there is no subshell created 
> if 
> you consider this:

The best way to tell for sure is with a system call tracer.


-- 
``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/

Reply via email to