On 04/14/2011 03:07 AM, Roman Rakus wrote:
Or document current behavior.
What about following?
diff -up bash-4.2/doc/bash.1.trap bash-4.2/doc/bash.1
--- bash-4.2/doc/bash.1.trap 2011-04-14 08:10:47.000000000 +0200
+++ bash-4.2/doc/bash.1 2011-04-14 08:15:34.000000000 +0200
@@ -9424,6 +9424,7 @@ These are the same conditions obeyed by
Signals ignored upon entry to the shell cannot be trapped or reset.
Trapped signals that are not being ignored are reset to their original
values in a subshell or subshell environment when one is created.
+During trap initialization for specific signal, pending signal can be
ignored.
The return status is false if any
.I sigspec
is invalid; otherwise
RR