2 ms·
And it's all 2 minutes to add it as your default shell (including installing brew itself). 22:06 ~ $ bash --version GNU bash, version 4.4.12(1)-release (
by coldtea 9y ago
And it's all 2 minutes to add it as your default shell (including installing brew itself).
22:06 ~ $ bash --version
GNU bash, version 4.4.12(1)-release (x86_64-apple-
darwin16.3.0)
Much easier than constraining oneself about what to put in one's script (assuming one is indeed targeting Linux, OS X etc released in the last 10+ years and not some embedded etc platforms).
- stephenr 9y agoIf your project says it requires something from brew thats a blocker for a number of people.
- coldtea 9y agoA mythical kind of project that depends on macOS having a recent bash?
- stephenr 9y agoIf your project depends on a bash script and that script depends on bash4, it wont run out of the box on a brand new macOS machine. A posix conptible shell script has no such limitation. Thats all im saying. Im not arguing the merits of which bash is better or what a project might need.