Sujet : Re: About the "nameref" feature in bash...
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.unix.shellDate : 08. Dec 2024, 15:41:31
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <vj4b6r$1ekv5$1@news.xmission.com>
References : 1 2
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
vj48k5$3r1bq$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou+
ng@hotmail.com> wrote:
On 08.12.2024 13:51, Kenny McCormack wrote:
Bash has a "nameref" attribute on variables,
>
Is that a newer feature of bash? (My version doesn't support -n with
'local' or with 'declare'.) My response is based on the ksh feature.
The underlying ideas of the feature might be reflected in both shells
in similar ways.
I think I read somewhere that it came in at bash 4.3 (c. 2014/2015) - which
is rather old now. So, I wouldn't call it "new".
-- Reading any post by Fred Hodgin, you're always faced with the choice of: lunatic, moron, or troll.I always try to be generous and give benefit of the doubt, by assuming troll.