dec2hex

#!/bin/sh
printf "%X\n" $1


hex2dec

#!/bin/sh
echo $((0x$1))


原链接:http://pank.org/blog/2004/07/shell-dec2hex-hex2dec.html

相关文章:

  • 2021-11-26
  • 2021-09-21
  • 2021-12-01
  • 2021-12-01
  • 2021-12-04
猜你喜欢
  • 2021-11-26
  • 2021-12-10
  • 2021-12-01
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案