Open illiliti opened 3 years ago
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 $*
$*
${*}
[0] https://www.austingroupbugs.net/view.php?id=1478
sample:
output:
dash, ash, mksh, oksh, yash, zsh(--emulate sh):
mrsh:
Note that parameter expansion of
$*
[0] result in undefined behavior.${*}
isn't a parameter expansion. It's a safe alias to$*
[0] https://www.austingroupbugs.net/view.php?id=1478