|
From: | Rene Herman |
Subject: | Re: Requesting an alternate nameref feature |
Date: | Wed, 12 Dec 2012 20:47:37 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |