Showing posts with label Arithmetic. Show all posts
Showing posts with label Arithmetic. Show all posts

Wednesday, March 30, 2011

Arithmetic Substitution

->VAR=$(( 1+3*2 ))
->echo $VAR
7

->VAR=$(( (1+3)*2 ))
->echo $VAR
8