read_char=123
echo "cat is $read_char"
#read_char=0x10
let read_char=read_char+1
echo "cat is $read_char"
#read_char=0x10
let read_char=read_char+1
printf "%d\n" $read_char
pintf 打印时,最好要格式化一下输出,如果
直接用
printf $read_char 会出输出不对的数据
chen@chen-ThinkPad-T420:~/rtl8188$ ./test8188.sh
cat is 123
124
124ab12ce00 后面的一串数据不知哪里来的