Inplace sed that works on both MacOS and Linux
If you have ever worked with Open Source projects, and in particular in the React and React Native ecosystems, you may already have found the need to use `sed` to manually patch a package. Unfortunately, the syntax on MacOS and Linux differ.