Re:How Apple overcame its culture of secrecy to create AirPo...
by kevinday on Sunday May 08, 2022 @11:26AM
(#31304911)
Bash really isn't a standard outside of most Linux distributions, you're going to find the same issue anywhere that isn't Linux.
OpenBSD uses pdksh, Busybox/NetBSD/Minix use ash, there are some linux distros that use zsh, OpenSolaris is ksh, etc.
Re:How Apple overcame its culture of secrecy to create AirPo...
by jen20 on Sunday May 08, 2022 @06:48AM
(#31302915)
Bash is not a common denominator anywhere except Linux. Just write what you want as POSIX shell and it will work in a lot of places.
You already have to deal with platform-specific differences even (nay - especially!) across Linux with things like apt vs yum vs dnf vs pacman vs Nix. One more is really a non-issue.
Re:How Apple overcame its culture of secrecy to create AirPo...
by EdwardDiego on Sunday May 08, 2022 @05:53PM
(#31308469)
Yeah, fair enough, I'm just bitter after my shiny new associative array failed and I had roll back to a worse option.
And now I'm needing to sniff your OS, detect whether or not Homebrew is installed, install it if not, then install Bash >3, then run the actual meat of the script.
All because of Apple's lawyers being scared of GPLv3.
At this point, I may as well insist that you install pyenv and Poetry and deliver it as a Python package.