${*} causes syntax error
illiliti opened this issue · comments
sample:
: ${*}
output:
dash, ash, mksh, oksh, yash, zsh(--emulate sh):
<no output>
mrsh:
test.sh:1:5: syntax error: expected a parameter
Note that parameter expansion of $*
[0] result in undefined behavior. ${*}
isn't a parameter expansion. It's a safe alias to $*