What is the main difference between $(()) and expr in Unix-Like systems?
$(())
expr
$(()) will almost certainly be within the shell that you are using. expr may be an external call