On 3/20/17 4:29 PM, Stephane Chazelas wrote:

>> I believe he means the behavior of `a=0; a=1 eval unset a', which Posix
>> implicitly requires affect the global scope and results in a being unset
>> when the statement completes.
> [...]
> See also:
> $ bash -c 'f() { unset a; echo "$a";}; a=1; a=2 f'
> 1
> already mentioned.

A distinction without a difference; the behavior is explicitly the same.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to