
December 5th, 2012, 12:44 PM
|
|
|
Hi, recent versions of bash have one-dimensional arrays, e.g.:
Code:
var[1]=23
var[2]=46
To dereference your values, you'll need curlies around the name of the variable:
With other shells, I don't think it is possible, except perhaps by simulating it using symbolic references.
|