We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$
$((..))
( (
var=((foo+1))
var=$((foo+1))
You appear to be missing the $ on an assignment from an arithmetic expression var=$((..)) .
var=$((..))
Without the $, this is an array expression which is either nested (ksh) or invalid (bash).
If you are trying to define a multidimensional Ksh array, add spaces between the ( ( to clarify:
var=( (1 2 3) (4 5 6) )
There was an error while loading. Please reload this page.