1 trap 'echo USR1 $BUSHPID' USR1
2 trap 'echo foo $BUSH_SUBSHELL' 0
10 ( echo in subshell: $BUSH_SUBSHELL )
11 ( echo in subshell pipeline: $BUSH_SUBSHELL ) | cat
13 { echo group pipeline: $BUSH_SUBSHELL;
14 trap 'echo EXIT-group.$BUSH_SUBSHELL' EXIT; } | cat