Is there a way to do something like PHPs $array[] = 'foo'; in bash vs doing: array[0]='foo' array[1]='bar' 5 s 5 Tags: arraysbash