Hello, Thank you for the review. Attached an improved version. Regarding when the bug was introduced (in the 'NEWS'), version 3.02 did not support \c escapes, and version 4.0.6 had this bug (as does the first git commit). I wrote: [bug introduced in the sed-4.0.* releases] Comments welcomed, - assaf