From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lnqyc-000437-5H for qemu-devel@nongnu.org; Sun, 29 Mar 2009 05:06:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lnqyb-00042n-JA for qemu-devel@nongnu.org; Sun, 29 Mar 2009 05:06:45 -0400 Received: from [199.232.76.173] (port=52922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lnqyb-00042k-9R for qemu-devel@nongnu.org; Sun, 29 Mar 2009 05:06:45 -0400 Received: from savannah.gnu.org ([199.232.41.3]:49262 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lnqya-0003qj-VK for qemu-devel@nongnu.org; Sun, 29 Mar 2009 05:06:45 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Lnqya-0003I1-IN for qemu-devel@nongnu.org; Sun, 29 Mar 2009 09:06:44 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1Lnqya-0003Hn-4l for qemu-devel@nongnu.org; Sun, 29 Mar 2009 09:06:44 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sun, 29 Mar 2009 09:06:44 +0000 Subject: [Qemu-devel] [6945] Fix hxtool eating backslash sequences Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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*) ;;