os x friendlier sed yikes http://stackoverflow.com/a/22084103/32453