Sign in
nest-open-source
/
nest-learning-thermostat
/
5.1
/
busybox
/
4e78bdb482363ce3d708250ad80a9b303c48ade7
/
.
/
busybox-1.19.3
/
testsuite
/
hostid
/
hostid-works
blob: bcfd717af42bb14a8a3c1e6b5749c11796af452b [
file
] [
log
] [
blame
]
h
=
x$
(
busybox hostid
)
# Is $h a sequence of hex numbers?
x
=
"${h//[0123456789abcdef]/x}"
x
=
"${x//xxx/x}"
x
=
"${x//xxx/x}"
x
=
"${x//xxx/x}"
x
=
"${x//xx/x}"
test x
"$x"
=
x
"x"