Commit 7d69c52ed8939b036fbd31488f9c7b4f5d7b8208
Committed by
Blue Swirl
1 parent
6ad8702a
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>
Showing
1 changed file
with
2 additions
and
2 deletions
hxtool
... | ... | @@ -26,10 +26,10 @@ hxtotexi() |
26 | 26 | STEXI*|ETEXI*) flag=$(($flag^1)) |
27 | 27 | ;; |
28 | 28 | DEFHEADING*) |
29 | - echo $(expr "$str" : "DEFHEADING(\(.*\))") | |
29 | + echo "$(expr "$str" : "DEFHEADING(\(.*\))")" | |
30 | 30 | ;; |
31 | 31 | *) |
32 | - test $flag -eq 1 && echo $str | |
32 | + test $flag -eq 1 && echo "$str" | |
33 | 33 | ;; |
34 | 34 | esac |
35 | 35 | done | ... | ... |