On 5/5/16 6:02 PM, Dan Douglas wrote:
> On Thu, May 5, 2016 at 2:46 AM, Piotr Grzybowski <narsil...@gmail.com> wrote:
>>  ok, so Dan wants this patch.
> 
> Yes I think your bash patch is probably an improvement at least in
> this particular case.
> 
>> Maybe you can comment on wether the patches are valid.
> 
> The posix export and readonly don't produce locally scoped variables
> at all, so it's expected that e.g. `typeset -x` and `export` will
> differ.

This is a different topic entirely, since neither of the examples
we're considering take place within a function.  Scoping isn't an
issue.

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