Re: brace expansion fails in 4.3, succeed in 4.2

2014-05-10 Thread NBaH
Le 10/05/2014 22:31, Dan Douglas a écrit : $ bash -c 'printf -v a "%(%s)T" -1; printf "%(%Y%m%d)T " "$a" "${a[a+=60*60*24,0]"{0..8}"}"; echo' 20140510 20140511 20140512 20140513 20140514 20140515 20140516 20140517 20140518 20140519 Thank you very much. This is tremendous! Do you mind explai

brace expansion fails in 4.3, succeed in 4.2

2014-05-10 Thread NBaH
Configuration Information [Automatically generated, do not change]: 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_

Re: `test -R' not working

2014-03-01 Thread NBaH
Le 01/03/2014 03:26, Chet Ramey a écrit : Thanks for the report. A line got dropped from a merge back during development. I've attached a patch that fixes this and one other problem with -R. Chet it works now. thank you.

`test -R' not working

2014-02-28 Thread NBaH
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Rompilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_

Re: bash 4.3 and 4.2 trouble with associative arrays assigned by ``printf -v''

2013-11-26 Thread NBaH
Le 26/11/2013 14:59, dnade@orange.com a écrit :> For the record, in bash 4.2.25 (Ubuntu LTS 12.04) you can work around your issue with : > > printf -v "aa["ind2"]" %s "" > > or > > printf -v "aa["ind2"]" %s > hi, right! as I had to deal with variables expanding to things like '\x3C', '%s'

bash 4.3 and 4.2 trouble with associative arrays assigned by ``printf -v''

2013-11-21 Thread NBaH
CONF_VENDOR='unknown' -DLOCALEDIR='/home/nbah/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DDEBUG -DMALLOC_DEBUG -I. -I. -I./include -I./lib -g -O2 uname output: Linux mymachine 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux Machine Type: x86