Re: bash 'let' can give error

2010-12-10 Thread Dominic Raferd
On 10/12/2010 15:15, Greg Wooledge wrote: On Thu, Dec 09, 2010 at 05:52:49PM +, Dominic Raferd wrote: Why does this happen? Is it 'by design'? It makes arithmetic with bash let very dangerous because it can throw unexpected errors (and break scripts running with set

bash 'let' can give error

2010-12-10 Thread Dominic Raferd
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linu x-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/ share/locale' -DPACKAGE=