On 10 November 2011 18:59, Pavel Borzenkov <pavel.borzen...@gmail.com> 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