bug-bash
[Top][All Lists]
Advanced

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

Re: excess braces ignored: bug or feature ?


From: Chet Ramey
Subject: Re: excess braces ignored: bug or feature ?
Date: Tue, 21 Feb 2012 14:52:04 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0

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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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