projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported from ../bash-4.0-rc1.tar.gz.
[platform/upstream/bash.git]
/
tests
/
assoc4.sub
1
IFS=/
2
declare -A i
3
4
i[0]=fooq
5
i[1]=
6
i[2]=barq
7
i[3]=
8
9
recho "${i[*]:0}"
10
recho "${i[@]:0}"
11
12
recho "${i[*]/q/!}"
13
recho "${i[@]/q/!}"
14
15
recho "${i[*]#?}"
16
recho "${i[@]#?}"
17
18
# Need to complete this with case-modifying expansion examples
19
recho "${i[*]^?}"
20
recho "${i[@]^?}"
21
recho "${i[*]^^?}"
22
recho "${i[@]^^?}"