Hacker News new | ask | show | jobs
by bashinator 4275 days ago
About the same level of effort?

Linux: apt-get install bash

OS X: Install xcode, install xcodetools (CLI), download bash source code from a mostly-undocumented URL (need to search through apple support forums), download and manually apply patch from GNU. Build bash, manually copy build output into /bin.

Yeah, totally the same level of effort.

2 comments

You can install the Xcode CL tools without installing Xcode. The two were separated a couple years ago.
Did you mean to say 'brew upgrade bash'?
That doesn't change the version of bash pointed at by /bin/sh which is a hardlink to the OSX supplied bash. Even if you previously relinked /bin/sh to a homebrew bash, it won't change versions by upgrading the installed bash.
I suppose if you're being brave, you can nuke the built-in bash and symlink it back to brew's copy.