feat(bktemp):Add promptLoop template
[BK-2020-03.git] / user / bkhextobin
CommitLineData
0d22dfcd
SBS
1#!/bin/bash
2echo "type a hex number"
3read hexNum
4echo -n "The binary value of $hexNum="
5echo "obase=2; ibase=16; $hexNum" | bc