Broken? Per POSIX, -e is not a special flag, and should be output. With the XSI extensions, you are supposed to get \r -> CR whether you want it or not. Without
XSI, the output when there are backslashes is undefined.
So perl is the way to go.
Comment on Re^6: [Good news] here docs portability!