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>
stable-0.11
Stefan Weil 2009-07-01 23:13:34 +02:00 committed by Blue Swirl
parent 6ad8702a77
commit 7d69c52ed8
1 changed files with 2 additions and 2 deletions

4
hxtool
View File

@ -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