BUG? Wrong BASH_LINENO for trap in compound command

2006-03-23 Thread Markus Laire
trap mytrap ERR false # <-- I want this linenumber true ) # <-- this line is reported -- Markus Laire ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Trap on ERR not inherited by subshell with "set -E"

2006-03-10 Thread Markus Laire
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash