gcc fails to build w/bash-4.4_alpha

2015-07-13 Thread Mike Frysinger
Configuration Information: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE

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

2015-07-13 Thread Linda Walsh
Chet Ramey wrote: On 7/12/15 11:58 PM, Linda Walsh wrote: set -A hash This is an error --- a brain-o -- at least I got the capitalized-A ;-) (original code probably had a hash hash or map hash ) declare -A hash... (I rarely type out the full command due to my aliases and lazine

Re: GNU Guile integration

2015-07-13 Thread Dmitry Bogatov
* Eduardo A. Bustamante López [2015-07-13 20:02:30-0500] > On Mon, Jul 13, 2015 at 11:46:50PM +0300, Dmitry Bogatov wrote: > > Hello, bug-bash and personally maintainer Chet Ramsey. > > > > Would you be interested in following patches? > > > > * GNU Guile integration (built-in that outputs value

Re: GNU Guile integration

2015-07-13 Thread Eduardo A . Bustamante López
On Mon, Jul 13, 2015 at 11:46:50PM +0300, Dmitry Bogatov wrote: > Hello, bug-bash and personally maintainer Chet Ramsey. > > Would you be interested in following patches? > > * GNU Guile integration (built-in that outputs value of Guile procedure >call, similar to what Make recently introduc

GNU Guile integration

2015-07-13 Thread Dmitry Bogatov
Hello, bug-bash and personally maintainer Chet Ramsey. Would you be interested in following patches? * GNU Guile integration (built-in that outputs value of Guile procedure call, similar to what Make recently introduced)? * Converting build system to use automake? -- Accept: text/plain, tex

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

2015-07-13 Thread Chet Ramey
On 7/12/15 11:58 PM, Linda Walsh wrote: >> set -A hash This is an error. >> hash=([defined_value]=22) This creates an indexed array. >> echo ${hash[defined_value]} > 22 >> [[ -v ${hash[defined_value]} ]] && echo pass test/[/[[ -v didn't understand array variables and subscripts until bash-