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.