bug-bash
[Top][All Lists]
Advanced

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

Re: namref dicussion continued: [PATCH] export -r reference


From: Chet Ramey
Subject: Re: namref dicussion continued: [PATCH] export -r reference
Date: Sun, 8 May 2016 19:03:43 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 5/5/16 6:02 PM, Dan Douglas wrote:
> On Thu, May 5, 2016 at 2:46 AM, Piotr Grzybowski <address@hidden> 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    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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