Quantcast
Channel: Decimal to Hexadecimal conversion working in Linux but not in Unix - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by xhienne for Decimal to Hexadecimal conversion working in Linux but...

You didn't tell us what is your Unix and your shell. The problem lies probably in the leading 0 which instructs printf to interpret the number as an octal number, which it can't be (due to the 8 and 9...

View Article



Decimal to Hexadecimal conversion working in Linux but not in Unix

I want to convert a decimal number to hexadecimal number. I used the command : printf '%X\n' 053698180 This command is working perfectly fine on Linux server. But throwing the below error when tried...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images