bash 内嵌命令 printf 用于进制转换

printf - 格式化并显示数据

printf "%d" 0x10
printf "%x" 16

posted @ 2020-02-11 20:10  ZhaoKevin  阅读(218)  评论(0编辑  收藏  举报