On Fri, Sep 23, 2005 at 12:40:54PM +0200, Ralf S. Engelschall wrote:
> No, the $((..)) construct is an arithmetic expression in Bash. The
> result has to be A=7 and this is actually the case on all platforms I've
> available:
Just FYI,
I tried non-OpenPKG versions of bash-2.05 and bash-3.0 on IRIX64:
bash-2.05$ A=$(( 3 + 4 )); echo $A
7
bash-3.00$ A=$(( 3 + 4 )); echo $A
7
% uname -a
IRIX64 xxxxxxxx 6.5 04070317 IP30
AFAIK the binaries were built using the IRIX C Compiler.
--
Michael van Elst
Internet: [EMAIL PROTECTED]
"A potential Snark may lurk in every tree."
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [email protected]