I have a problem with a linux shell script (
I'm trying to write a script that calculates combinations, but I think I get overflows when trying to calculate faculties. So, I'm trying another technique. In this technique I used this:
a=`expr $var1 \* $var2 / $var3`
This is giving errors, and apperently, I can't do this:
a=`expr ($var1 \* $var2) / $var3`
because this gives errors as well.
How do I do it?