[BUG] Sed commands in META.md do not work on mac
What is the bug? The find and replace text commands using sed in https://github.com/opensearch-project/opensearch-plugins/blob/main/META.md does not work on mac
How can one reproduce the bug? run the find with sed commands on mac
What is the expected behavior? The commands should work as expected on linux and mac
What is your host/environment?
- OS: Mac
I think for OSX you want to switch your sed to use gnu sed, https://stackoverflow.com/questions/30003570/how-to-use-gnu-sed-on-mac-os-10-10-brew-install-default-names-no-longer-su, otherwise it's endless pain of having sed that behaves differently on linux/mac. Maybe confirm and add a note?
I think for OSX you want to switch your sed to use gnu sed, https://stackoverflow.com/questions/30003570/how-to-use-gnu-sed-on-mac-os-10-10-brew-install-default-names-no-longer-su, otherwise it's endless pain of having sed that behaves differently on linux/mac. Maybe confirm and add a note?
I am good with any solution that helps with mac
@abhinavGupta16 The fix here is to update the instructions and/or add a note on Mac.