Evaluating Arithmetic Expressions in Unix Shell Script

By | February 23rd, 2013|Operating Systems, Unix Scripting|

Evaluating arithmetic expression using let String commands using expr Variables in the shell are considered to be text strings by default. If you have assigned the value 1 to a variable, the variable holds the value of the textual character 1, and not the numerical value 1. This is a difficult distinction to grasp, and [...]