OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote-tracking branch 'remotes/vivier/tags/q800-for-5.0-pull-request' into...
[qmiga/qemu.git]
/
scripts
/
hxtool
1
#!/bin/sh
2
3
hxtoh()
4
{
5
flag=1
6
while read -r str; do
7
case $str in
8
HXCOMM*)
9
;;
10
SRST*|ERST*) flag=$(($flag^1))
11
;;
12
*)
13
test $flag -eq 1 && printf "%s\n" "$str"
14
;;
15
esac
16
done
17
}
18
19
case "$1" in
20
"-h") hxtoh ;;
21
*) exit 1 ;;
22
esac
23
24
exit 0