mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
related: #14033 related: #17726 closes: #17757 Signed-off-by: Rob B <github@0x7e.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
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
|