title: Bash "declare -A" does not work on macOS
body: <p>My guess is that Bash is not updated on macOS. When googling update Bash macOS, I keep getting the bug fix patch. Anyway, I need to use associative arrays in macOS Bash where the command:</p>
  
  <pre><code>declare -A
  </code></pre>
  
  <p>yields the error:</p>
  
  <blockquote>
    <p>-bash: declare: -A: invalid option<br>
    declare: usage: declare [-afFirtx] [-p] [name[=value] ...]</p>
  </blockquote>
  
  <p>I have Yosemite.</p>