0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
vim/runtime/syntax/testdir/input/sh_ksh_array.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
175 B
Bash
Raw Normal View History

#!/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