Mac OS X sed is different than Linux sed