]>
Commit | Line | Data |
---|---|---|
3185942a JA |
1 | echo $(( 0x7e )) |
2 | echo $(( 0x7f )) | |
3 | echo $(( 0x80 )) | |
4 | ||
5 | a=$'\x80' | |
6 | recho "$a" | |
7 | ||
8 | a=( $'\x7e' $'\x7f' $'\x80' ) | |
9 | ||
10 | recho "${a[@]}" | |
11 | ||
12 | unset a | |
13 | a[0]=$'\x7e' | |
14 | a[1]=$'\x7f' | |
15 | a[2]=$'\x80' | |
16 | ||
17 | recho "${a[@]}" | |
18 | ||
19 | b1=$'\x7e' | |
20 | b2=$'\x7f' | |
21 | b3=$'\x80' | |
22 | ||
23 | unset a | |
24 | a=( "$b1" "$b2" "$b3" ) | |
25 | ||
26 | recho "${a[@]}" | |
27 |