Stuart Shelton wrote: > > Configuration Information [Automatically generated, do not change]: > Machine: mips > OS: irix6.5 > Compiler: cc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='mips' > -DCONF_OSTYPE='irix6.5' -DCONF_MACHTYPE='mips-sgi-irix6.5' > -DCONF_VENDOR='sgi' -DLOCALEDIR='/usr/bsd/share/locale' -DPACKAGE='bash' > -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -I./lib/intl > -I/usr/include -c99 -O2 -n32 -mips4 -r12000 -apo -float_const > -use_readonly_const -TARG:isa=mips4:platform=ip30:processor=r12000 > -TENV:zeroinit_in_bss=ON -DEFAULT:platform=ip30 > -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON > -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -woff > 1174,1183,1552 -n32 -I/usr/include > uname output: IRIX64 octane 6.5 07010238 IP30 > Machine Type: mips-sgi-irix6.5 > > Bash Version: 3.0 > Patch Level: 16 > Release Status: release > > Description: > > PAREN_ARITHMETIC seems to be broken when bash-3.00 is compiled on IRIX: > e.g. > > $ bash-2.05 -c 'A=$(( 2 + 3 )); echo $A' > 5 > > $ bash-3.00 -c 'A=$(( 2 + 3 )); echo $A' > 2: command not found > > And, infact, there may be some form of off-by-one error here: > > $ bash-3.00 -c 'A=$(x(2+3)); echo $A' > 5 > > ... so it looks as if the character immediately following the initial > opening bracket is dropped.
This appears to be irix-specific. Are you using yacc or bison? That could be a cause as well. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ( ``Discere est Dolere'' -- chet ) Live Strong. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://tiswww.tis.case.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash