I\'ve got a makefile (developed for gmake
on Linux) that I\'m attempting to port to MacOS, but it seems like sed
doesn\'t want to cooperate. What I
This isn't quite an answer to the question, but one can get linux-equivalent behavior through
brew install gnu-sed
# Add to .bashrc / .zshrc
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
(previously there was a --with-default-names
option to brew install gnu-sed
but that has recently been removed)