Sign in
qemu
/
qemu
/
a872e4328bb3c2dda0699e04abf0f902950221f3
/
.
/
scripts
/
hxtool
blob: 7b1452f3cf1588cc8fd4053f53dc733adb99b52b [
file
] [
log
] [
blame
]
#!/bin/sh
hxtoh
()
{
flag
=
1
while
read
-
r str
;
do
case
$str
in
HXCOMM
*)
;;
SRST
*|
ERST
*)
flag
=
$
((
$flag
^
1
))
;;
*)
test $flag
-
eq
1
&&
printf
"%s\n"
"$str"
;;
esac
done
}
case
"$1"
in
"-h"
)
hxtoh
;;
*)
exit
1
;;
esac
exit
0