Converting hex to decimal in awk or sed

前端 未结 7 1433
南方客
南方客 2020-12-06 16:13

I have a list of numbers, comma-separated:

123711184642,02,3583090366663629,639f02012437d4
123715942138,01,3538710295145500,639f02afd6c643
123711616258,02,35         


        
相关标签:
7条回答
  • 2020-12-06 16:56
    printf "%d\n", strtonum( "0x"$1 )"
    
    0 讨论(0)
提交回复
热议问题