Bash-4.4 distribution sources and documentation
This commit is contained in:
parent
30a978b7d8
commit
a0c0a00fc4
588 changed files with 130746 additions and 80164 deletions
14
tests/exec11.sub
Normal file
14
tests/exec11.sub
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
trap 'echo USR1 $BASHPID' USR1
|
||||
trap 'echo foo $BASH_SUBSHELL' 0
|
||||
|
||||
trap | cat
|
||||
echo between
|
||||
( trap )
|
||||
echo between 2
|
||||
{ trap; } | cat
|
||||
|
||||
( echo in subshell: $BASH_SUBSHELL )
|
||||
( echo in subshell pipeline: $BASH_SUBSHELL ) | cat
|
||||
|
||||
{ echo group pipeline: $BASH_SUBSHELL;
|
||||
trap 'echo EXIT-group.$BASH_SUBSHELL' EXIT; } | cat
|
||||
Loading…
Add table
Add a link
Reference in a new issue