]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/array9.sub
Bash-4.3 patch 22
[thirdparty/bash.git] / tests / array9.sub
CommitLineData
3185942a
JA
1echo $(( 0x7e ))
2echo $(( 0x7f ))
3echo $(( 0x80 ))
4
5a=$'\x80'
6recho "$a"
7
8a=( $'\x7e' $'\x7f' $'\x80' )
9
10recho "${a[@]}"
11
12unset a
13a[0]=$'\x7e'
14a[1]=$'\x7f'
15a[2]=$'\x80'
16
17recho "${a[@]}"
18
19b1=$'\x7e'
20b2=$'\x7f'
21b3=$'\x80'
22
23unset a
24a=( "$b1" "$b2" "$b3" )
25
26recho "${a[@]}"
27