Hacker News new | ask | show | jobs
by canucker2016 530 days ago
Thanks for the correction.

This points to one area of Apple's use of GPL code. Apple doesn't want code licensed under GPL v3+ so they're sticking with the GPL v2 codebase (and custom-backporting bugfixes?). Apple uses Bash v3.2, GNU Bash is at v5.2.

1 comments

Apple doesn’t have bash as their default anymore, it’s been zsh for years.

I presume they keep a bash around due to how ubiquitous it is for scripting.

https://en.wikipedia.org/wiki/Zsh says Apple switched to zsh as the default shell (with its MIT-variant license) in 2019.

GCC was replaced with LLVM in Xcode 4.2, and GDB was replaced with LLDB in Xcode 4.5 and GDB removed in Xcode 5.0. see https://en.wikipedia.org/wiki/Xcode