Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • There are reasons though, because any scripts that you specify with !#/bin/bash as the interpreter will run the old 3.2.57 version shipped with Mac OS, so you can't use newer features like associative arrays with scripts without manually changing the interpreter, which sucks from a portability point of view. I would love to relink /bin/bash to a more modern version instead. Commented Mar 28, 2024 at 10:14
  • It's important to appreciate that there are both forward and reverse incompatibilities, so it is preferable for each script to nominate (via its #! line) exactly which version of Bash it needs. Commented Oct 1, 2024 at 15:11