Shell使用printf进行进制转换

Posted by 4Aiur on 04/06/2010 in Shell |

Shell使用printf进行进制转换

localhost:~ 4aiur$ printf "%d\n" \0x64
100
localhost:~ 4aiur$ printf "%x\n" 100
64

Tags:

Copyright © 2010-2024 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.