Change a sed expression to be POSIX compliant.