bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nameref and referenced variable scope, setting other attributes (was


From: Zachary Santer
Subject: Re: nameref and referenced variable scope, setting other attributes (was "local -g" declaration references local var in enclosing scope)
Date: Thu, 14 Mar 2024 12:14:09 -0400

On Thu, Mar 14, 2024 at 11:47 AM Zachary Santer <zsanter@gmail.com> wrote:
>
> Kind of funny that 'local -g' seems to work just fine, doing the same
> thing as 'declare -g' (at least in bash 4.2), but whatever.

bash 5.2.15 as well.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]