Re: Finding the last foreground command in the current session

2015-07-12 Thread Egmont Koblinger
Hi guys, Friendly ping... is there anything we could do? Chet, I couldn't find anything related to this in 4.4-alpha's changes. Is there any chance to get this feature to 4.4-final? thx, egmont On Fri, May 22, 2015 at 11:15 AM, Debarshi Ray wrote: > Hey, > > Any further comments / questions /

Re: problem with local -

2015-07-12 Thread Chet Ramey
On 7/10/15 12:52 PM, isabella parakiss wrote: > Using local - calls set_ignoreeof() when unwinding "function_calling". > As a result, you have to press ^D 10 times to exit the shell. > Anyway, $IGNOREEOF is not changed and shopt -o ignoreeof reports off. I can't reproduce this. When I test it, wi

Re: Finding the last foreground command in the current session

2015-07-12 Thread Chet Ramey
On 7/12/15 6:57 AM, Egmont Koblinger wrote: > Hi guys, > > Friendly ping... is there anything we could do? > > Chet, I couldn't find anything related to this in 4.4-alpha's changes. > Is there any chance to get this feature to 4.4-final? So far, I haven't seen a sufficiently compelling rationale

Is this right? test -v $hash{defined_value} == false?

2015-07-12 Thread Linda Walsh
set -A hash hash=([defined_value]=22) echo ${hash[defined_value]} 22 [[ -v ${hash[defined_value]} ]] && echo pass [[ -v ${hash[defined_value]} ]] || echo fail fail [[ -v {hash[defined_value]} ]] || echo fail fail [[ -v hash[defined_value] ]] || echo fail fail [[ -v \${hash[defined_v

Re: Is this right? test -v $hash{defined_value} == false?

2015-07-12 Thread Charles Daffern
On 13/07/15 04:58, Linda Walsh wrote: >> [[ -v hash[defined_value] ]] || echo fail > fail This one worked for me, both bare and in quotes. >> echo $BASH_VERSION > 4.2.45(1)-release I'm on 4.3.39(1)-release > This seems more messy and isn't -v supposed > to help clean up such things? >> [[ ${h