From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHzRC-0001hM-Jj for qemu-devel@nongnu.org; Sat, 20 Jun 2009 08:12:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHzR6-0001WR-KG for qemu-devel@nongnu.org; Sat, 20 Jun 2009 08:12:48 -0400 Received: from [199.232.76.173] (port=45257 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHzR6-0001W8-Gf for qemu-devel@nongnu.org; Sat, 20 Jun 2009 08:12:44 -0400 Received: from moutng.kundenserver.de ([212.227.126.188]:58719) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHzR5-0004RN-Vw for qemu-devel@nongnu.org; Sat, 20 Jun 2009 08:12:44 -0400 From: Stefan Weil Date: Sat, 20 Jun 2009 14:12:30 +0200 Message-Id: <1245499950-13035-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] Fix hxtool. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 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