repo.or.cz
/
bash.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added gitignore entries needed to ignore derived objects generated from full build...
[bash.git]
/
tests
/
array8.sub
blob
481ccdbcdc831c4c23b80deda40908e321f73b6a
1
IFS=/
2
declare -a i
3
4
i[0]=fooq
5
i[1]=
6
i[2]=barq
7
i[3]=
8
recho "${i[*]:0}"
9
recho "${i[@]:0}"
10
11
recho "${i[*]/q/!}"
12
recho "${i[@]/q/!}"
13
14
recho "${i[*]#?}"
15
recho "${i[@]#?}"
16
17
# Need to complete this with case-modifying expansion examples
18
recho "${i[*]^?}"
19
recho "${i[@]^?}"
20
21
recho "${i[*]^^?}"
22
recho "${i[@]^^?}"
23