2
0
Fork 0
mirror of https://github.com/Idnan/bash-guide.git synced 2018-11-09 02:29:39 +01:00

Corrected example for array initialization (#22)

Given example does not initialize an array - there is a probably typo in code sample.
This commit is contained in:
Diserere 2017-04-05 07:15:53 +03:00 committed by Adnan Ahmed
parent 0c46fdf4e1
commit 089476ea2f

View file

@ -885,7 +885,7 @@ array[0] = val
array[1] = val
array[2] = val
array=([2]=val [0]=val [1]=val)
array(val val val)
array=(val val val)
```
To display a value at specific index use following syntax: