1h=x$(busybox hostid) 2# Is $h a sequence of hex numbers? 3x="${h//[0123456789abcdef]/x}" 4x="${x//xxx/x}" 5x="${x//xxx/x}" 6x="${x//xxx/x}" 7x="${x//xx/x}" 8test x"$x" = x"x" 9