feat(bktemplate):Add checkapp,checkfile functions
[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