smartbc - shell multibase calculator base on bc
For help with command line options, use:
smartbc -h
bc is an arbitrary precision calculator language
but you need to specify and use only one base number in your equation
smartbc allow you to use multibase numbers in one equation, all the number will be convert to decimal, then pass to bc.
smartbc "0xa-0o5+0b110*(5+1)"