[Top][All Lists]

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

Re: [Qemu-trivial] [Qemu-devel] [PATCH] configure: Quote the configure a

From: Peter Maydell
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] configure: Quote the configure args printed in config.log
Date: Wed, 7 Mar 2012 17:09:31 +0000

On 7 March 2012 12:40, Stefan Hajnoczi <address@hidden> wrote:
>> +printf "# Configured with:" >> config.log
>> +printf " '%s'" "$0" "$@" >> config.log
> You use an interesting feature of printf(1)- it applies the (short)
> format string as long as there are arguments.  I checked that this is
> in the specification:
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html

Yes, I had to look up the spec to figure out why it worked too :-)

-- PMM

reply via email to

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