SyntaxFix
Write A Post
Hire A Developer
Questions
var=$((count7 + count1))
Arithmetic in bash uses $((...)) syntax.
$((...))
You do not need to $ symbol within the $(( ))
$
$(( ))