You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple shell script in bash to convert hex to decimal numbers. Reads byte format separated with spaces eg. FF FF and long hex number format eg. FFFFFF.
Simple shell script in bash to convert hex to decimal numbers.
Usage:
To convert byte format separated with spaces:
$ ./hextodec.sh -b FF FF
FF 255 FF 255
Long hex numbers conversion:
$ ./hextodec.sh FFFF
FFFF 65535
The inputs are sensitive inputs.
About
Simple shell script in bash to convert hex to decimal numbers. Reads byte format separated with spaces eg. FF FF and long hex number format eg. FFFFFF.