bash:
$ echo $((16#FF)) 255
shell将16进制输出为10进制
原文:https://www.cnblogs.com/workingdiary/p/11842937.html