qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6945] Fix hxtool eating backslash sequences
@ 2009-03-29  9:06 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-03-29  9:06 UTC (permalink / raw)
  To: qemu-devel

Revision: 6945
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6945
Author:   blueswir1
Date:     2009-03-29 09:06:43 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
Fix hxtool eating backslash sequences

Modified Paths:
--------------
    trunk/hxtool

Modified: trunk/hxtool
===================================================================
--- trunk/hxtool	2009-03-29 01:31:56 UTC (rev 6944)
+++ trunk/hxtool	2009-03-29 09:06:43 UTC (rev 6945)
@@ -3,14 +3,14 @@
 hxtoh()
 {
     flag=1
-    while read str; do
+    while read -r str; do
         case $str in
             HXCOMM*)
             ;;
             STEXI*|ETEXI*) flag=$(($flag^1))
             ;;
             *)
-            test $flag -eq 1 && echo $str
+            test $flag -eq 1 && echo "$str"
             ;;
         esac
     done
@@ -19,7 +19,7 @@
 hxtotexi()
 {
     flag=0
-    while read str; do
+    while read -r str; do
         case "$str" in
             HXCOMM*)
             ;;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-29  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-29  9:06 [Qemu-devel] [6945] Fix hxtool eating backslash sequences Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).