shell将16进制输出为10进制

bash:

$ echo $((16#FF))
255
原文地址:https://www.cnblogs.com/workingdiary/p/11842937.html