Closed eriktaubeneck closed 2 weeks ago
echo " ${@@Q}" causes a Bad Substitution error in zsh (now the default on macOS), which very unfortunately gives a 0 exit code. echo " ${*}" still prints the command that it failed on, and it should work with bash and zsh.
echo " ${@@Q}"
Bad Substitution error
echo " ${*}"
echo " ${@@Q}"
causes aBad Substitution error
in zsh (now the default on macOS), which very unfortunately gives a 0 exit code.echo " ${*}"
still prints the command that it failed on, and it should work with bash and zsh.