> Machine Type: i686-pc-cygwin
>
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
>
> Description:
>
> An arithmetic equality test misperforms in a script. (It works okay =
> on the command line.)
If you're using `sh' to run the script, you should be aware that `sh'
on cygwin is actually ash, and probably doesn't understand ((...)) as
the arithmetic operator. It's most likely being parsed as two nested
subshells.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/