13 Ekim 2022 Perşembe tarihinde Chet Ramey <chet.ra...@case.edu> yazdı:

> There are other ways to test whether or not an associative array has any
> set elements, but there was no way to use `*' or `@' as a key in previous
> versions.
>

 test -v seems broken anyway

$ declare -A foo=(a 42)
$ declare -a bar=(42)
$ test -v foo; echo $?
1
$ test -v bar; echo $?
0


-- 
Oğuz

Reply via email to