MacOS ships with [pre-GPL bash:](https://jmmv.dev/2019/11/macos-bash-baggage.html) which is super old and doesn't support some syntax. Also, some commands like `date` and `csplit` are different on mac.