Bash-5.3-alpha release

This commit is contained in:
Chet Ramey
2024-04-22 10:33:38 -04:00
parent f3b6bd1945
commit 622d318652
700 changed files with 136534 additions and 96420 deletions
+22
View File
@@ -105,11 +105,33 @@ fn
after 1
fn
after 2
before
after
CHLD
CHLD
CHLD
CHLD
BASH_TRAPSIG = USR1
func=7
222
exit=0
exit=0
A
In trap-argument: last command preceding the trap action
In a function call: last command in the trap action
caught a child death
caught a child death
caught a child death
trap -- 'echo caught a child death' SIGCHLD
echo caught a child death
./trap.tests: line 118: trap: cannot specify both -p and -P
./trap.tests: line 119: trap: -P requires at least one signal name
trap: usage: trap [-Plp] [[action] signal_spec ...]
./trap.tests: line 121: trap: -x: invalid option
trap: usage: trap [-Plp] [[action] signal_spec ...]
trap -- 'echo exiting' EXIT
trap -- 'echo aborting' SIGABRT
trap -- 'echo caught a child death' SIGCHLD
trap: usage: trap [-Plp] [[action] signal_spec ...]
echo exiting
exiting