Understand “ibase” and “obase” in case of conversions with bc?
I often use bc
utility for converting hex to decimal and vice versa. However, it is always bit trial and error how ibase
and obase
should be configured. For example here I want to convert hex value C0 to decimal: