On 12/12/2012 07:04 PM, Dan Douglas wrote:
While the current nameref implementation is tremendously valuable in
writing functions that manipulate non-local arrays, it does very
little else that couldn't already be done with Bash's indirect
parameter expansion, or to solve the encapsulation problem.
"Oh, you tease" ...
That is, mind a bash-newbie question as to what this "bash+" is? And
specifically, is this nameref implementation that you speak of something
that's in the pipeline for "regular bash"? Because, yes, when
investigating a recent question of mine as to the status of
multi-dimensional arrays, I ran into the fact that indirect parameter
expansion would solve most of my needs -- if only it would behave with
arrays. "typeset -n" doesn't exist for my bash-4.2.39...
Kind regards,
Rene