]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/dollar-star3.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / dollar-star3.sub
1 IFS=/
2 #file=/mnt/cdrom/RedHat/RPMS
3 #recho "${file[*]:0:3}"
4
5 i[0]=fooq
6 i[1]=
7 i[2]=barq
8 i[3]=
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