bug-bash
[Top][All Lists]
Advanced

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

Re: BASH_SUBSHELL documentation misleading


From: Marc Herbert
Subject: Re: BASH_SUBSHELL documentation misleading
Date: Thu, 24 Mar 2011 18:07:33 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9

Le 24/03/2011 14:50, Greg Wooledge a écrit :
> On Thu, Mar 24, 2011 at 02:33:19PM +0000, Marc Herbert wrote:
>> I would also like to see this example in the documentation:
>>
>> $ ( echo sub-$BASH_SUBSHELL ); echo main-$BASH_SUBSHELL
>> sub-1
>> main-0
> 
> Overkill.

Tradeoff.

> Most of the other features in the manual do not have such
> examples, and if we added examples of this size for every single feature,
> the manual would swell up to a tremendous size.  It's already quite large.

Not every feature is complicated enough that it requires special
documentation care and that it raises a discussion here.






reply via email to

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