39a7ae0731a45a58b7b9469301594dff29d62a61
[BK-2020-03.git] / user / bkhextobin
1 #!/bin/bash
2 echo "type a hex number"
3 read hexNum
4 echo -n "The binary value of $hexNum="
5 echo "obase=2; ibase=16; $hexNum" | bc