Ensure that GNU sed is used on Darwin. Its own sed doesn't accept the "e"