How to Add Calculations to a Bash Script.md 511 B


Title: "How to Add Calculations to a Bash Script" Date: 2017-12-04 09:04:13 Categories: [programming] tags: [bash]

Authors: sedlav

Although Bash is a scripting language, it has pretty much all the capabilities of a general purpose programming language. This includes arithmetic functions. There are a number of syntax options you can use to evoke arithmetic evaluation of an expression. Perhaps the most readable one is the let command.

Link