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:
That's true. It uses the existing variable for the readonly check and the existing value to perform an append if desired. I can see using the nameref itself for both of those; what do you think? -- ``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/