dotar/vim/snippets/sh/for/index-loop.snippet

5 lines
59 B
Plaintext
Raw Normal View History

2011-11-17 15:45:33 -06:00
for ${1:i} in ${!${2:Array}[@]}
do
echo "${$2[$1]}"
done