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-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2
-Wall
uname output: Linux localhost 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC
2011 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.1
Patch Level: 5
Release Status: release
Description:
The built-in `eval' command returns unexpected results when
evaluating non-numerical set arguments.
Repeat-By:
set -- a b c d e f g h i j k l m n o p q r s t u v w x y z
i=1
eval echo '$'$i # outputs an expected 'a'
i=10
eval echo '$'$i # outputs 'a0'; expected 'j'
i=11
eval echo '$'$i # outputs 'b1'; expected 'k'