]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/assoc1.sub
Bash-4.2 patch 14
[thirdparty/bash.git] / tests / assoc1.sub
CommitLineData
3185942a
JA
1hash -r
2echo ${BASH_CMDS[@]}
3
4hash -p /usr/sbin/foo foo
5hash -p /usr/local/bin/qux qux
6
7echo ${!BASH_CMDS[@]}
8echo ${BASH_CMDS[@]}
9
10BASH_CMDS[blat]=/sbin/blat
11BASH_CMDS[sh]=/bin/sh
12
13hash
14
15echo ${!BASH_CMDS[@]}
16echo "${BASH_CMDS[@]}"