qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1.0] configure: pass suffix to 'sed -i' command


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1.0] configure: pass suffix to 'sed -i' command
Date: Thu, 10 Nov 2011 19:12:06 +0000

On 10 November 2011 18:59, Pavel Borzenkov <address@hidden> wrote:
> On Nov 10, 2011, at 10:18 PM, Peter Maydell wrote:
>> sed -i isn't POSIX; it would be nicer not to use it at all really.
>
> I was trying to do minimal changes to the code.
> Do you know sed implementations that do not support '-i'?

busybox sed supports plain -i but not "-i.bak", for instance.

(admittedly it's not very likely that anybody would be running
busybox sed compiling qemu, but if you stick to POSIX you don't
have to worry about whether anybody's sed has the extra feature
you're trying to use...)

-- PMM



reply via email to

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