Re: Wrong input confuses bash's arithmetic unit permanently

2007-09-12 Thread Enrico Scholz
"Chris F.A. Johnson" <[EMAIL PROTECTED]> writes: >> $ let tmp="foo.a"+0 >> $ let ++i >> $ echo $i >> 0 >I agree that it is a bug, but it is one that will never bother me >because I always use the POSIX arithmetic syntax: happens there too: $ : $(( tmp=foo.a+0 )) bash: tmp=foo.a+0 : synta

Re: Wrong input confuses bash's arithmetic unit permanently

2007-09-12 Thread Chris F.A. Johnson
On 2007-09-11, Enrico Scholz wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu' > -DCONF_VEN