"Tried to reproduce in debian testing squeeze, bash 4.1.5:
and...@debian:~$ bash -c 'trap '\''echo "BC $BASH_COMMAND"'\'' ERR; false
foo'
BC false foo
and...@debian:~$ echo $?
1
and...@debian:~$

I think everything works."

Sorry, the version is wrong. I used 4.1-3.

Reply via email to