Bash-4.4 distribution sources and documentation

This commit is contained in:
Chet Ramey
2016-09-15 16:59:08 -04:00
parent 30a978b7d8
commit a0c0a00fc4
588 changed files with 130746 additions and 80164 deletions
+14
View 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