On 20/02/2020 19.48, Ulrich Mueller wrote: > Still, I think it's sad that there isn't a command that can test for > assigned vs void variable, without the need for parsing of declare -p > output.
There is no need to parse, the return value of `declare -p var` or `typeset -p var` will tell you what you want. Peter