commit bash-20081016 snapshot

This commit is contained in:
Chet Ramey
2011-12-07 09:30:34 -05:00
parent 3abf178f91
commit f2f9854dfd
15 changed files with 161 additions and 46 deletions
+27
View File
@@ -0,0 +1,27 @@
echo $(( 0x7e ))
echo $(( 0x7f ))
echo $(( 0x80 ))
a=$'\x80'
recho "$a"
a=( $'\x7e' $'\x7f' $'\x80' )
recho "${a[@]}"
unset a
a[0]=$'\x7e'
a[1]=$'\x7f'
a[2]=$'\x80'
recho "${a[@]}"
b1=$'\x7e'
b2=$'\x7f'
b3=$'\x80'
unset a
a=( "$b1" "$b2" "$b3" )
recho "${a[@]}"