Re:
by nickjj on Sunday October 03, 2021 @05:44AM
(#28735818)
> POSIX is not properly implemented, but that doesn't matter to the majority of developers
The non-GNU versions of popular command line tools and running Bash 3.x ends up being a nuisance. Scripts that work fine on WSL 2, native Linux and CI (also Linux) end up not working on macOS. It usually comes down to some flag not existing or working the same on macOS' version of [INSERT_POPULAR_CLI_TOOL] or a Bash 4.x feature not existing so you need to do things a different way. As someone who often writes shell scripts getting macOS compatibility feels like having to support IE 6 back in the good old days of web development.
The non-GNU versions of popular command line tools and running Bash 3.x ends up being a nuisance. Scripts that work fine on WSL 2, native Linux and CI (also Linux) end up not working on macOS. It usually comes down to some flag not existing or working the same on macOS' version of [INSERT_POPULAR_CLI_TOOL] or a Bash 4.x feature not existing so you need to do things a different way. As someone who often writes shell scripts getting macOS compatibility feels like having to support IE 6 back in the good old days of web development.