3 ms·
> if ((temp > 90000)); then What is this syntax? I would have assume something like `[ $temp -gt 90000 ]` or `$((temp > 90000))`. Is the dollar here optional?
by _wolfie_ 4y ago
> if ((temp > 90000)); then
What is this syntax? I would have assume something like `[ $temp -gt 90000 ]` or `$((temp > 90000))`. Is the dollar here optional? Is this something bash specific?
- scbrg 4y ago> Is this something bash specific? Yes. http://mywiki.wooledge.org/ArithmeticExpression#Arithmetic_Commands http://mywiki.wooledge.org/ArithmeticExpression#Arithmetic_C...