In
for (( expr1 ; expr2 ; expr3 )) ; do commands ; done
expr1, expr2, and expr3 are arithmetic expressions.
Is
expr1 ; expr2 ; expr3not an arithmetic expression?(( expr1 ; expr2 ; expr3 ))isn't a stand-alone command, so I guessexpr1 ; expr2 ; expr3isn't an arithmetic expression. Note thatexpr1, expr2, expr3is an arithmetic expression.Are
((and))in the for-loop different from((and))in command(( 3 ))?Does
(( expr1 ; expr2 ; expr3 ))make sense only in for-loop? Or also else where?