# shellcheck disable=SC2016 # "${#@}" and "${#*}" count the parameters, like ksh and bash; dash gives the # length of "$*" instead, so this is zash's own choice. "$TSH" -c 'set -- a bb c; echo "${#@} ${#*} $#"' "$TSH" -c 'echo "${#@}"' "$TSH" -c 'set -- a b; x="@"; echo "${#@}"'