Re: declare checks on valid nameref names don't account for +=

2016-05-25 Thread Chet Ramey
On 5/22/16 7:14 PM, Grisha Levit wrote: > The following should probably work: > > |$ declare -n ref=var ref+=[@] bash: declare: [@]: invalid variable name for > name reference | > > But the following should not: > > |$ declare -n ref=re ref+=f $ declare -p ref declare -n ref="ref" | > > The lat

Re: Before Bash 4.4 gets released

2016-05-25 Thread Chet Ramey
On 5/25/16 12:00 AM, konsolebox wrote: > Hi, is there a target date for the release of Bash 4.4? Bash seems to > have gone through a lot of changes/bugs lately so it would be nice if > get to test it with my application with its final snapshot before it > gets released so I'm sure it's stable for

Re: Before Bash 4.4 gets released

2016-05-25 Thread konsolebox
On Thu, May 26, 2016 at 3:30 AM, Chet Ramey wrote: > On 5/25/16 12:00 AM, konsolebox wrote: >> Hi, is there a target date for the release of Bash 4.4? Bash seems to >> have gone through a lot of changes/bugs lately so it would be nice if >> get to test it with my application with its final snapsh

Re: Cannot grep jobs list when jobs called in a function

2016-05-25 Thread Chet Ramey
On 4/29/16 9:32 AM, Reuti wrote: > I understand that the behavior of the builtin `jobs` changes, in case it > discovers that it's run a subshell. But what is happening here: > > $ sleep 300 & > [1] 31766 > $ function lister() { date; jobs; } > $ lister > Fri Apr 29 15:29:46 CEST 2016 > [1]+ Run