((test=0x1234))
echo $test
if [ $test -eq 4660 ]; then
echo hello
else
echo not hello
fi
linux-shell 脚本转换 十六进制 十进制 八进制 二进制-zt
http://www.51testing.com/html/00/130600-867618.html
((test=0x1234))
echo $test
if [ $test -eq 4660 ]; then
echo hello
else
echo not hello
fi
linux-shell 脚本转换 十六进制 十进制 八进制 二进制-zt
http://www.51testing.com/html/00/130600-867618.html