On Jun 12 11:40, Chet Ramey wrote: > > I'm going to think about whether I should document the status quo or expand > the definition of `subshell' that $BASH_SUBSHELL reflects. It seems like > group commands in pipelines (and the exit traps they run) would be a good > candidate for such an expansion.
Right, I think either would be good. You didn't seem to have replied on that code snippet I provided before. I assume, that inconsistency in BASH_SUBSHELL inside {...} invoked directly and invoked inside EXIT trap, should be fixed one way or another. I don't mean to be picking on these corner cases but I'm of curious mind and thought I should raise it, when stumbled across. If nothing else, somebody might find this thread useful while searching for answers. Having said that, I think this concludes it from my side. Thank you for your time and clarifications, it helped me understand some nuances of Bash as well as other Bourne shells. Regards, Miro -- Miroslav Koskar http://mkoskar.com/
signature.asc
Description: PGP signature