mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
22 lines
175 B
Bash
22 lines
175 B
Bash
|
#!/bin/ksh
|
||
|
|
||
|
foo=(
|
||
|
( 00 01 )
|
||
|
( 10 11 )
|
||
|
)
|
||
|
|
||
|
bar=(
|
||
|
[0]=(
|
||
|
[0]=00
|
||
|
[1]=01
|
||
|
)
|
||
|
[1]=(
|
||
|
[0]=10
|
||
|
[1]=11
|
||
|
)
|
||
|
)
|
||
|
|
||
|
|
||
|
echo ${foo[1][1]} # => 11
|
||
|
echo ${bar[1][1]} # => 11
|