Re: ERR trap inheritance in command substitution

2010-01-10 Thread DennisW
On Jan 8, 11:50 am, Stefan Götz wrote: > Hi! > > It seems that in bash version 4.0.33(1)-release (i486-pc-linux-gnu) (from > Ubuntu > 9.04), ERR traps are not inherited by functions that are called via command > substitution. I expected inheritance to apply in this case since the > documentation

Re: ERR trap inheritance in command substitution

2010-01-08 Thread Chet Ramey
On 1/8/10 12:50 PM, Stefan Götz wrote: > Hi! > > It seems that in bash version 4.0.33(1)-release (i486-pc-linux-gnu) (from > Ubuntu > 9.04), ERR traps are not inherited by functions that are called via command > substitution. I expected inheritance to apply in this case since the > documentation