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:
parent
0c46fdf4e1
commit
089476ea2f
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue