Comment Comment by ebeip90 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 } parent ebeip90 5 years ago
run() { if dry; then echo "${(q-)@}" else "$@" fi }