Re: `bash --debugger` in interactive mode

2012-08-19 Thread Chet Ramey
On 8/18/12 1:55 AM, 郑文辉(Techlive Zheng) wrote: > I happened to have `shopt -s extdebug` in my .bashrc recently. > > After a new bash session started, I got the following output. > > bash debugger, bashdb, release 4.2-0.8 > > Copyright 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011

Re: Bash 4.1 doesn't behave as I think it should: arrays and the environment

2012-08-19 Thread Stephane Chazelas
2012-08-17 17:18:12 -0400, Greg Wooledge: > On Fri, Aug 17, 2012 at 03:19:56PM +0800, John Summerfield wrote: > > In two cases I wish to pass an array in the environment, like so: > > 14:28 john@Boomer$ STUFF[1]=one STUFFX=stuffx env | grep ^ST > > STUFFX=stuffx > > STUFF[1]=one > > You are creati

Re: `bash --debugger` in interactive mode

2012-08-19 Thread Techlive Zheng
2012/8/20 Chet Ramey : > On 8/18/12 1:55 AM, 郑文辉(Techlive Zheng) wrote: >> I happened to have `shopt -s extdebug` in my .bashrc recently. >> >> After a new bash session started, I got the following output. >> >> bash debugger, bashdb, release 4.2-0.8 >> >> Copyright 2002, 2003, 2004, 2006,