modify post for sed on mac os