On Wed, Oct 03, 2012 at 01:00:21PM +0000, Yuxiang Cao wrote: > Hi, this is a interesting problem. Because My bash version is 4.1.5, so I > simply run the similar thing as your code which give me this > frank@frank-laptop:~/research/realfault$ bash -c 'FUNCNEST=100; a() { echo > "$1"; a $(($1+1)); }; a 1' 2>&1 | tail
When I look in "man bash" on a Debian system with bash 4.1, there is no FUNCNEST, so it was probably added in version 4.2. That's why it isn't working for you.