fix sed with | as separator and unescaped /s