Ralf Wildenhues wrote: > Reason is that sed (and POSIX BRE in > general) treat ^ and $ anchors only as special at the beginning resp. > end of the BRE, and maybe at subexpression boundaries; elsewhere, they > both match literal ^ and $ characters.
Indeed. That's documented in POSIX. Sorry for the false alarm. Bruno
