[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash-4.2(42) on AIX 6.1 has broken command expansion in double-quoted st
From: |
Jason Vas Dias |
Subject: |
bash-4.2(42) on AIX 6.1 has broken command expansion in double-quoted strings |
Date: |
Wed, 27 Feb 2013 18:26:30 +0000 |
Hi bash gurus - bash appears to be broken on AIX 6.1 - I'd really
appreciate some advice :
With bash-4.2 patchlevel 42 (the latest available as of today from
ftp.gnu.org ),
on AIX, the resultant bash built with gcc-4.7.2 and system ld + as,
ends up being
broken wrt to command output in strings:
$ ./bash
bash-4.2$ echo "$(echo hello)"
bash: command substitution: line 2: syntax error near unexpected token `)'
bash: command substitution: line 2: `echo hello)"'
bash-4.2$ v="$(date)"
bash: command substitution: line 13: syntax error near unexpected token `)'
bash: command substitution: line 13: `date)"'
I've tried compiling with / without libiconv and either to use AIX
/usr/lib/libcurses
or latest libncurses (from invisible-island.net), with GCC - 4.7.2 and
the latest version of
m4 + bison and/or byacc, and with / without all combinations of the
'--disable-nls --without-libiconv-prefix --enable-readline
--with-installed-readline' configuration options,
but with same result.
Also, the stock IBM "/opt/freeware" bash 4.1 comes with a bug that disables
<TAB>-completion when the path resolves to an NFS mount point .
Does anyone know if there is a way to disable this ?
Thanks in advance for any response -
Best Regards,
Jason Vas Dias <jason.vas.dias@gmail.com>
- bash-4.2(42) on AIX 6.1 has broken command expansion in double-quoted strings,
Jason Vas Dias <=