sv: cleanup for non-gnu sed