]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/assoc2.sub
Bash-4.2 patch 14
[thirdparty/bash.git] / tests / assoc2.sub
1 echo ${BASH_ALIASES[@]}
2
3 alias foo=/usr/sbin/foo
4 alias qux='/usr/local/bin/qux -l'
5
6 echo ${!BASH_ALIASES[@]}
7 recho ${BASH_ALIASES[@]}
8
9 BASH_ALIASES[blat]='cd /blat ; echo $PWD'
10 BASH_ALIASES[sh]='/bin/bash --login -o posix'
11
12 alias -p
13
14 echo ${!BASH_ALIASES[@]}
15 recho "${BASH_ALIASES[@]}"