bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BASH_SUBSHELL documentation misleading


From: Greg Wooledge
Subject: Re: BASH_SUBSHELL documentation misleading
Date: Thu, 24 Mar 2011 14:17:38 -0400
User-agent: Mutt/1.4.2.3i

On Thu, Mar 24, 2011 at 06:07:33PM +0000, Marc Herbert wrote:
> Not every feature is complicated enough that it requires special
> documentation care and that it raises a discussion here.

BASH_SUBSHELL isn't complicated at all.  It's just documented in a
confusing way.  It doesn't require an example to say that it reports the
current subshell depth.  It's just that the existing documentation
can be interpreted to make someone think that it tracks a running total
of how many subshells were created as children of the current shell in
the past.  That's where Sam got mixed up.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]