Sign in
qemu
/
qemu
/
2df9f5718df7722924699a3754f99165e2f4ae35
/
.
/
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