[bugreport] declare -n z is inconsistent with the z

2021-08-08 Thread Melvin
From: m To: bug-bash@gnu.org Subject: declare -n z is inconsistent with the z Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-a6qmCk/bash-5.0=. -fstack-protector-strong -Wforma

Re: [bugreport] declare -n z is inconsistent with the z

2021-08-08 Thread Melvin
Scratch that. This is probably not a bug. I got an explanation on stackoverflow: https://stackoverflow.com/questions/68692482/what-does-the-bash-builtin-declare-n-z-do-with-the-z-parameter Thanks for the great work GNU! I wish you a nice day. With kindest regards, Melvin On Sun, Aug 8, 2021

Re: [bugreport] declare -n z is inconsistent with the z

2021-08-08 Thread Chet Ramey
On 8/8/21 9:39 AM, Melvin wrote: Scratch that. This is probably not a bug. I got an explanation on stackoverflow: https://stackoverflow.com/questions/68692482/what-does-the-bash-builtin-declare-n-z-do-with-the-z-parameter Yes, the second assignment sets "somevalue=somevalue". -- ``The lyf so