Is there an invocation of sed todo in-place editing without backups that works both on Linux and Mac? While the BSD sed shipped with OS X seems to
sed
I ran into this problem. The only quick solution was to replace the sed in mac to the gnu version:
brew install gnu-sed