From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfuQB-0004pm-RN for qemu-devel@nongnu.org; Fri, 24 May 2013 12:00:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfuQ9-0003Ml-SN for qemu-devel@nongnu.org; Fri, 24 May 2013 12:00:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfuQ9-0003Li-4x for qemu-devel@nongnu.org; Fri, 24 May 2013 12:00:45 -0400 Message-ID: <519F8E6A.9050206@redhat.com> Date: Fri, 24 May 2013 09:59:38 -0600 From: Eric Blake MIME-Version: 1.0 References: <20130521153333.4880.74390.stgit@hds.com> <20130521153345.4880.68009.stgit@hds.com> <519F6D5E.8010707@redhat.com> In-Reply-To: <519F6D5E.8010707@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2CEDFDAWURWXRWMFPCQOC" Subject: Re: [Qemu-devel] [RFC PATCH v3 03/11] Add a script to extract VSS SDK headers on POSIX system List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek Cc: qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com, vrozenfe@redhat.com, Tomoki Sekiyama , pbonzini@redhat.com, seiji.aguchi@hds.com, areis@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2CEDFDAWURWXRWMFPCQOC Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/24/2013 07:38 AM, Laszlo Ersek wrote: >> +++ b/scripts/extract-vsssdk-headers >> @@ -0,0 +1,25 @@ >> +#! /bin/bash >> + >> +MAGIC=3D$'\xd0\xcf\x11\xe0\xa1\xb1\x1a\xe1' >=20 > Can't help mentioning the following portable (alas, octal) equivalent := ) >=20 > MAGIC=3D$(printf '%b' '\0320\0317\0021\0340\0241\0261\0032\0341') Yeah, but as long as the she-bang is (correctly) requiring bash, we might as well use the full power of bash. Also, Issue 8 of POSIX will be mandating $'' handling (but it could be several years before Issue 8 becomes a standard, compared to Issue 7 [aka POSIX 2008] just barely released its first technical corrigendum [aka POSIX 2013]). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2CEDFDAWURWXRWMFPCQOC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRn45qAAoJEKeha0olJ0NqBRgH/0mVrahhQZ9Ak/qatZ5ootyc MU1iIWlObUWbMifp0tZr7xahNzT0yPQ3kxPLmsvLkA/z5pFZ0MCB+Ea9hH3TyHc4 5VVdYutqHrpcALrCdn+H7vxiABQs3EsSiOXDGYHGeYVhEK04wk2VaDP6PbMmzi0R gaxM/L9LNlZw/7jZaLHIKL87FsdZ13ZS/SesibsL0IvnfJotun47fYkvGSSDytaO geHZuB4GK8BWHY1JAbW3EpHhPOCSoKDx3bbJmjdVITgy+CgVuCs9Ls14UMvq8pyb heVwQcFs4n49hdZwz6ewpDvvDzhJjziyS0jK0dbPXA7Izsu2fR24vYRTzjPpQx8= =SoEn -----END PGP SIGNATURE----- ------enig2CEDFDAWURWXRWMFPCQOC--