For those using zsh, you can get better quoting (and only when necessary, and handles non-printable characters and newlines better) than using printf.
run() { if dry; then echo "${(q-)@}" else "$@" fi }
run() { if dry; then echo "${(q-)@}" else "$@" fi }
No comments yet.