Oops. Missed Ted's much more complete explanation of this.
> - Replace /bin/sh, which is a symlink to /bin/bash, with the binary of
> an older version of bash which does not implement the arithmetic
> command. (No need to deprive yourself of 2.00 the rest of the time.)
Just curious, but what new features have you found yourself actually
using? I have 1.14.7 on one box and 2.00.0 on another and don't notice
any difference other than the the 2.0 version forced me to fix a bunch
of my shell functions in my .bashrc. (mainly just changing } to ;} )
Nothing in the changes file lept out at me as something I'd been dieing
to see in bash. ;)
Another alternative, as I reread the changes file to refresh my memory I
found this.
a. The ksh-style ((...)) arithmetic command was implemented. It is exactly
identical to let "...". This is controlled by a new option to configure,
`--enable-dparen-arithmetic', which is on by default.
So, another alternative is to recompile bash2 with this off.
--
Artificial Intelligence stands no chance against Natural Stupidity.
GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*