Use hxtool to generate monitor documentation and C structures
[qemu] / hxtool
diff --git a/hxtool b/hxtool
index 49b722b..885abe2 100644 (file)
--- a/hxtool
+++ b/hxtool
@@ -10,7 +10,7 @@ hxtoh()
             STEXI*|ETEXI*) flag=$(($flag^1))
             ;;
             *)
-            test $flag -eq 1 && echo "$str"
+            test $flag -eq 1 && printf "%s\n" "$str"
             ;;
         esac
     done