Thursday, June 3

Which is the preferred way of doing integer math in Bash?

A. a=$(expr 17 + 23)
B. b=$[17 + 23]
C. ((c=17+23))
D. let d="17 + 23"


No comments:

Post a Comment