Fix hxtool.
PATCH 1/1 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.
--- hxtool | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
hxtool +2 -2
@@ -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
Signature · 1 line
1.5.6.5
Quoted 23 lines · Stefan Weil
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 <[email protected]>--- hxtool | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)hxtool +0
-0@@ -26,10 +26,10 @@ hxtotexi() STEXI*|ETEXI*) flag=$(($flag^1)) ;;
hxtool hxtotexi() · line 35
Quoted 10 lines
hxtool +2
-2DEFHEADING*) - echo $(expr "$str" : "DEFHEADING(\(.*\))") + echo "$(expr "$str" : "DEFHEADING(\(.*\))")" ;; *) - test $flag -eq 1 && echo $str + test $flag -eq 1 && echo "$str" ;; esac done
The patch is still missing in qemu.git. Without it, the next version of http://www.nongnu.org/qemu/qemu-doc.html
will look bad. ;-)
Regards,
Stefan Weil