On 21/02/2020 02.37, Chet Ramey wrote:
> It's unset because it doesn't have a value, but it retains the `local'
> attribute so it stays local if subsequently assigned one.

Is there any reason the local attribute cannot be unset? If it would be
possible then the "declare/typeset -p" would return 1 when the variable
doesn't exist.

By the way, it seems that `local -p var` doesn't work like 'declare -p
var` even though `help local` suggests it should.

Peter

Reply via email to