On 5/12/16 8:58 PM, Grisha Levit wrote: > The 20160506 snapshot changes assign_in_env to do some nameref-related > checks on the variable name, but these don’t really seem to make sense > since assignments in the temporary env just create regular variables and > don’t follow the nameref chain otherwise. > > i.e. bash doesn’t actually care that |ref| is a nameref at the outer scope > for the purposes of creating the temp env:
It should, for compatibility; ksh93 follows the nameref at least for temporary assignments preceding builtins. I'll look further when I have a block of time. Chet -- ``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/