[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH v3 03/11] Add a script to extract VSS SDK he

From: Eric Blake
Subject: Re: [Qemu-devel] [RFC PATCH v3 03/11] Add a script to extract VSS SDK headers on POSIX system
Date: Fri, 24 May 2013 09:59:38 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

On 05/24/2013 07:38 AM, Laszlo Ersek wrote:

>> +++ b/scripts/extract-vsssdk-headers
>> @@ -0,0 +1,25 @@
>> +#! /bin/bash
>> +

>> +MAGIC=$'\xd0\xcf\x11\xe0\xa1\xb1\x1a\xe1'
> Can't help mentioning the following portable (alas, octal) equivalent :)
> MAGIC=$(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]).

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]