Is there a way to do something like PHPs $array[] = 'foo'; 有沒有辦法像PHP同樣$array[] = 'foo'; in bash vs doing: 在bash vs作: 數組
$array[] = 'foo';
array[0] = 'foo' array[1] = 'bar'