I want to add two numeric variables in a shell script. I am running HP POSIX. Can someone tell me if this is possible and if how?
THX for any help.
I want to add two numeric variables in a shell script. I am running HP POSIX. Can someone tell me if this is possible and if how?
THX for any help.
a=2
b=3
((c=a+b))
echo $c
THX - worked like a charm - such a simple solution:)