4 ms·
Thank the GPL v3 for that one. Same reason GCC is frozen at 4.2.1 on mac. I switched to zsh, personally - the one Apple ship is pretty current. macOS is still
by PopsiclePete 8y ago
Thank the GPL v3 for that one. Same reason GCC is frozen at 4.2.1 on mac.
I switched to zsh, personally - the one Apple ship is pretty current.
macOS is still a pretty solid developer machine.
- a012 8y agoSome application still requires bash, like wireguard
- zx2c4 8y agoWireGuard doesn't require bash. The main configuration utility, wg(8), is written in vanilla C. However, the tools ship with a little convenience script, called wg-quick(8), which is indeed written in bash. It started out as the thing I was using to configure my laptop on the go, but then others found it helpful. It's by no means essential or central to WireGuard, and lots of people use different things to wrap wg(8) and the various networking tools.
- pbhjpbhj 8y agoTotally aside: is there a tool that can parse a programs code, then consume a folder of (headers for?) versions of a dependency and say the versions that are [a priori] compatible?
- a012 8y agoBased on your documents[1] of Mac OS, it looks very like wireguard requires bash version 4 or newer because wireguard-tools will install bash as dependency. Maybe you should edit the docs or shouldn't deliver wireguard-tools? $ brew install wireguard-tools [1] - https://www.wireguard.com/install/ https://www.wireguard.com/install/
- zx2c4 8y agoSorry if I didn't make it clear before: wg-quick(8) is part of wireguard-tools, because people find it useful sometimes. But it's in no way essential and WireGuard functions entirely without it. That's what I mean when I say WireGuard doesn't require bash. That little helper script is just a small convenience thing some people like.
- h1d 8y agoWhat's the problem running it on a 10 year old bash?
- _ZeD_ 8y agoall the 10 years of news and bug fixes?
- h1d 8y agoWhich is? And I doubt those scripts rely in the 'new' features out of some 30 years old history.
- faho 8y agobash 4 introduced associative arrays (aka dictionaries or hashmaps). Which, while you can do without, is a nice feature that makes some things easier.