Re: About the "nameref" feature in bash...

Liste des GroupesRevenir à cu shell 
Sujet : Re: About the "nameref" feature in bash...
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.unix.shell
Date : 08. Dec 2024, 15:54:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vj4c02$3rrc3$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 08.12.2024 15:41, Kenny McCormack wrote:
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".

Yeah - "newer" is a very subjective and context specific term.

It's my [deliberately frozen] standard box I use regularly that
is still running bash 2.4; so some, erm.., "newer" features of
bash I cannot test [on that system] (without manual changes).
I see a downloaded "bash 5.0" package lying around on the file
system (not installed), but that's it. :-)

Janis


Date Sujet#  Auteur
8 Dec 24 * About the "nameref" feature in bash...7Kenny McCormack
8 Dec 24 `* Re: About the "nameref" feature in bash...6Janis Papanagnou
8 Dec 24  +* Re: About the "nameref" feature in bash...4Kenny McCormack
8 Dec 24  i`* Re: About the "nameref" feature in bash...3Janis Papanagnou
9 Dec 24  i `* Re: About the "nameref" feature in bash...2Kenny McCormack
9 Dec 24  i  `- Re: About the "nameref" feature in bash...1Janis Papanagnou
9 Dec 24  `- Re: About the "nameref" feature in bash...1Kenny McCormack

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal