From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MM77e-0003tK-Tc for qemu-devel@nongnu.org; Wed, 01 Jul 2009 17:13:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MM77a-0003r8-G4 for qemu-devel@nongnu.org; Wed, 01 Jul 2009 17:13:42 -0400 Received: from [199.232.76.173] (port=47476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM77a-0003r3-5Q for qemu-devel@nongnu.org; Wed, 01 Jul 2009 17:13:38 -0400 Received: from moutng.kundenserver.de ([212.227.126.188]:52155) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MM77Z-0002f4-M6 for qemu-devel@nongnu.org; Wed, 01 Jul 2009 17:13:38 -0400 From: Stefan Weil Date: Wed, 1 Jul 2009 23:13:34 +0200 Message-Id: <1246482814-10403-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <4A4BA43D.6040303@us.ibm.com> References: <4A4BA43D.6040303@us.ibm.com> Subject: [Qemu-devel] [PATCH] Fix hxtool. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com Cc: QEMU Developers When converting from hx to texi format, hxtool (or to be more precise sh which interprets hxtool) used standard shell expansion of wildcards while writing lines to the output. Thus, something like "Password: ********" looked very different in the generated documentation. The patch disables this unwanted wildcard expansion. Signed-off-by: Stefan Weil --- hxtool | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hxtool b/hxtool index 885abe2..0fdbc64 100644 --- a/hxtool +++ b/hxtool @@ -26,10 +26,10 @@ hxtotexi() STEXI*|ETEXI*) flag=$(($flag^1)) ;; DEFHEADING*) - echo $(expr "$str" : "DEFHEADING(\(.*\))") + echo "$(expr "$str" : "DEFHEADING(\(.*\))")" ;; *) - test $flag -eq 1 && echo $str + test $flag -eq 1 && echo "$str" ;; esac done -- 1.5.6.5