Control: tags -1 wontfix
The bash maintainer has confirmed in
https://lists.gnu.org/archive/html/bug-bash/2024-03/msg00212.html that
this behavior of trap is both intended and allowed by the spec,
although other shell behave differently.
Regards,
--
Gioele Barabucci
Package: bash
Version: 5.0-4
Severity: normal
Tags: upstream
Dear Maintainer,
In a bash script I want to display the actual trap EXIT definition.
But in a subshell not the trap definition of the subshell, but of the
main script is displayed.
To show the problem I use the script trap_handling:
2 matches
Mail list logo