On 8/10/16 12:06 PM, Andreas Kusalananda Kähäri wrote:
> Bash Version: 4.3
> Patch Level: 46
> Release Status: release
>
> Description:
> When declaring a variable in a function as a nameref, it can not
> be dereferenced if the variable it's a nameref to happen to have
> the same name as the nameref itself. This imposes unnecessary
> restrictions on the caller.
There was extensive discussion about namerefs on bug-bash earlier this
year. I have a reasonable suggestion about how to change this behavior,
and I will be looking at it after bash-4.4 is released.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/