init version.
[bush.git] / tests / 3.cli / exec / exec11.sub
blob4bdc52f6852ea02a6d30ed8a15b2165bb5564051
1 trap 'echo USR1 $BUSHPID' USR1
2 trap 'echo foo $BUSH_SUBSHELL' 0
4 trap | cat
5 echo between
6 ( trap )
7 echo between 2
8 { trap; } | cat
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