On 2023-01-25 10:34, Roman Perepelitsa wrote:
You can use [[ -z ]] for that.
     for name in ${(k)parameters}; do
       if [[ -z ${(P)name} ]]; then
         print -r -- $name
       fi
     done
One small problem with that. It seems to print all the values alright, but ends with:
"failed to find end of command substitution"... you'd have tested it of course, so why that msg here? Virgin shell reports the same msg.