Support BSD sed