On 5/20/16 6:47 PM, Grisha Levit wrote: > I would propose that the following behavior would be least surprising for > assignments before command names: > > * iff |$ref| is a valid nameref for assignment, assigning/appending to > |ref| modifies the target variable (for ksh93 compat) > * > > the target variable is added to the export list if it was not there > before (for ksh93 compat) > > * > > if |$ref| is a nameref but is not valid for assignment (or is not set) > > o |ref=x| puts |ref=x| in the env > o |ref+=x| puts |ref=${ref}x| in the env (using the target’s value) > * the nameref variable is added to the export list with the new value of > its target
This sounds basically reasonable. I'll take a look at how it works out. 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/