我想知道如何在bash中声明一个2D数组然后初始化为0.
在C中它看起来像这样:
int a[4][5] = {0};
我如何为元素赋值?如在C:
a[2][3] = 3;
linux bash shell
bash ×1
linux ×1
shell ×1