https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66136
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-05-15 Ever confirmed|0 |1 --- Comment #4 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- According to: http://pubs.opengroup.org/onlinepubs/009695399/utilities/sed.html [In a replacement] the meaning of a '\' immediately followed by any character other than '&', '\', a digit, or the delimiter character used for this command, is unspecified. So I think that rules out all the normal escaped characters.