[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
-v no longer works for associative arrays
From: |
Bryan Roessler |
Subject: |
-v no longer works for associative arrays |
Date: |
Thu, 13 Oct 2022 10:42:02 -0400 |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-musl
Compiler: gcc
Compilation CFLAGS: -g -O2
uname output: Linux d1a7b22c3308 5.19.14-200.fc36.x86_64 #1 SMP
PREEMPT_DYNAMIC Wed Oct
Machine Type: x86_64-pc-linux-musl
Bash Version: 5.2
Patch Level: 2
Release Status: release
Description:
bash-5.2# declare -A a
bash-5.2# a[foo]=bar
bash-5.2# [[ -v a[@] ]]; echo $?
1
bash-5.1# declare -A a
bash-5.1# a[foo]=bar
bash-5.1# [[ -v a[@] ]]; echo $?
0
If this is by design I missed it.
Repeat-By:
See above
- -v no longer works for associative arrays,
Bryan Roessler <=
- Re: -v no longer works for associative arrays, Chet Ramey, 2022/10/13
- Re: -v no longer works for associative arrays, Oğuz, 2022/10/13
- Re: -v no longer works for associative arrays, Chet Ramey, 2022/10/13
- Re: -v no longer works for associative arrays, Oğuz, 2022/10/13
- Re: -v no longer works for associative arrays, Bryan Roessler, 2022/10/13
- Re: -v no longer works for associative arrays, Chet Ramey, 2022/10/13
- Re: -v no longer works for associative arrays, Greg Wooledge, 2022/10/13
Re: -v no longer works for associative arrays, Greg Wooledge, 2022/10/13