Dixit Paolo Bonzini <[EMAIL PROTECTED]> : > Paolo Bonzini wrote: > > Fixed by commit 4c4207c in the upstream git repository. > > Sorry -- by commit f11ba2ae > Just tested the patch against the sed sources of Debian unstable, it works. What surprised me was :
[17:14:27] - [EMAIL PROTECTED]:~/tmp/test/sed-4.1.5/sed$ echo foobar | ./sed --posix 's/\(o\)/\n/g' f bar The behaviour of posix sed is unspecified if it is anything other than \&, \\, \number, thus it is not a problem to have a newline here. I remarked it because the sed of FreeBSD (for instance) prints "n" instead of newlines, hence it would be fnnbar above. But I suppose in general it is a bad idea to behave the same way as other implementations for unspecified behaviours. Anyway the patch works for me, the bug can be closed when the package is updated with the latest upstream revision. Thanks for the quick reply & solution :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]