|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v2] win32: Fix CRLF problem in make_device_config.sh |
Date: | Mon, 20 Dec 2010 11:37:47 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6 |
On 12/19/2010 05:06 PM, Andreas Färber wrote:
Andreas, may I ask you for one more test? $ echo -e 'include xy\r' | tr -d '\r' | awk '/^include / {ORS=""; print $2}' | od -c
I'd not bother with ORS and use '$1 == "include" { printf "%s", $2 }' instead.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |