Ralf Wildenhues <[EMAIL PROTECTED]> writes: > If & is used as sed s delimiter, then escaping & in the RHS right is > tricky (portably), as it's now both delimiter and replacement > operator, and literal.
I don't see why it's tricky to do portably. If the RHS contains '&', escape it with a backslash. That's simple and portable, no? The advantage of using & as a delimiter is that any other choice of a delimiter means one more character to escape (namely, the delimiter). (Admittedly these are all minor points.)
