From: malc <av1474@comtv.ru>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] [RFC] Syncing documentation vs. -help vs. qemu_options table v4
Date: Fri, 20 Mar 2009 01:07:45 +0300 (MSK) [thread overview]
Message-ID: <Pine.LNX.4.64.0903200106490.3046@linmac.oyster.ru> (raw)
In-Reply-To: <f43fc5580903181044j2a37d487r6c6169a33fcb0a36@mail.gmail.com>
On Wed, 18 Mar 2009, Blue Swirl wrote:
> Hi,
>
> This version uses HOST_CC (actually a leftover from dyngen) for
> compiling hxtool to support cross compiling.
>
> Comments? Objections?
>
hxtool as a shell script
#!/bin/sh
hxtoh()
{
flag=1
while read str; do
case $str in
HXCOMM*)
;;
STEXI*|ETEXI*) flag=$(($flag^1))
;;
*)
test $flag -eq 1 && echo $str
;;
esac
done
}
hxtotexi()
{
flag=0
while read str; do
case "$str" in
HXCOMM*)
;;
STEXI*|ETEXI*) flag=$(($flag^1))
;;
DEFHEADING*)
echo $(expr "$str" : "DEFHEADING(\(.*\))")
;;
*)
test $flag -eq 1 && echo $str
;;
esac
done
}
case "$1" in
"-h") hxtoh ;;
"-t") hxtotexi ;;
*) exit 1 ;;
esac
--
mailto:av1474@comtv.ru
prev parent reply other threads:[~2009-03-19 22:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-18 17:44 [Qemu-devel] [PATCH] [RFC] Syncing documentation vs. -help vs. qemu_options table v4 Blue Swirl
2009-03-19 22:07 ` malc [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0903200106490.3046@linmac.oyster.ru \
--to=av1474@comtv.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).