|
From: | Daniel Molina |
Subject: | nameref pointing to array element |
Date: | Thu, 23 Apr 2020 00:05:51 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Hello, Is the following an intended behavior? Undefined? A bug? $ a[1]=2; declare -n ref=a[1]; echo $ref $((ref)) 2 0 Thanks, Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |