$ bash -c 'trap "echo WHOA" ERR; command false'
WHOA
WHOA

Expected output: just one WHOA (as on *ksh, zsh)

Thanks,

- M.

Reply via email to