On 8/7/23 9:56 AM, Kamil Cukrowski Priv wrote:
Hi, when BASH_SUBSHELL is part of a pipeline with just a simple command it
does not increment. Consider the following:
Yes. BASH_SUBSHELL increments for asynchronous commands (&), commands
explicitly in subshells, compound commands in pipelines, coprocesses,
process substitution, and command substitution.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/