shell将16进制输出为10进制

bash:

$ echo $((16#FF))
255

 

posted @ 2019-11-12 16:35  workingdiary  阅读(1292)  评论(0编辑  收藏  举报