summaryrefslogtreecommitdiff
path: root/hxtool
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-07-01 23:13:34 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-07-02 17:54:34 +0000
commit7d69c52ed8939b036fbd31488f9c7b4f5d7b8208 (patch)
treed07e7cadc72e5088d43efcb0cb6e3a4484853040 /hxtool
parentUse ctz64 in favor of ffsll (diff)
downloadqemu-kvm-7d69c52ed8939b036fbd31488f9c7b4f5d7b8208.tar.gz
qemu-kvm-7d69c52ed8939b036fbd31488f9c7b4f5d7b8208.tar.bz2
qemu-kvm-7d69c52ed8939b036fbd31488f9c7b4f5d7b8208.zip
Fix hxtool.
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 <weil@mail.berlios.de>
Diffstat (limited to 'hxtool')
-rw-r--r--hxtool4
1 files changed, 2 insertions, 2 deletions
diff --git a/hxtool b/hxtool
index 885abe222..0fdbc641c 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