To quote from @SnoringFrog's topic-creation request:
"One of the biggest gotchas using sed is scripts that fail (or succeed in an unexpected way) because they were written for one and not the other. Simple run-down of the more major differences would be good."
macOS uses the BSD ver...