Skip to content

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.

License

Notifications You must be signed in to change notification settings

dcambria/hex-to-dec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Hex to Dec

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages