On Tue, 19 Dec 2006 11:12, you wrote:
> ThisMacUsage=($ThisMacUsage+($IPMax-$IPMin));
>
> returns...
>
> ./CheckDLimit.sh: line 47: syntax error near unexpected token `('
> ./CheckDLimit.sh: line 47: `
> ThisMacUsage=($ThisMacUsage+($IPMax-$IPMin));'
>
> I guess this is not how you're meant to add up values in a sh?I think it's foo = $(($bar +($baz-$quux))) or something. You could also type "addition bash" into Google. The first two results are relevant and useful. But why do you hurt yourself? Use Python. No, really. A
