title: Case statement fallthrough?
body: <p>In popular imperative languages, switch statements generally "fall through" to the next level once a case statement has been matched. </p>
  
  <p>Example:</p>
  
  <pre><code>int a = 2;
  switch(a)
  {
     case 1:
        print "quick ";
     case 2: 
        print "brown ";
     case 3: 
        print "fox ";
        break;
     case 4:
        print "jumped ";
  }
  </code></pre>
  
  <p>would print "brown fox".</p>
  
  <p>However the same code in bash</p>
  
  <pre><code>A=2
  case $A in
  2)
    echo "QUICK"
    ;&amp;
  2)
    echo "BROWN"
    ;&amp;
  3)
    echo "FOX"
    ;&amp;
  4)
    echo "JUMPED"
    ;&amp;
  esac
  </code></pre>
  
  <p>only prints "BROWN"</p>
  
  <p>How do I make the case statement in bash "fall through" to the remaining conditions like the first example?</p>
  
  <p>(edit: Bash version 3.2.25, the ;&amp; statement (<a href="http://en.wikipedia.org/wiki/Switch_statement" rel="noreferrer">from wiki</a>) results in a syntax error)</p>
  
  <p>running:</p>
  
  <p>test.sh:</p>
  
  <pre><code>#!/bin/bash
  A=2
  case $A in
  1)
    echo "QUICK"
    ;&amp;
  2)
    echo "BROWN"
    ;&amp;
  3)
    echo "FOX"
    ;&amp;
  esac
  </code></pre>
  
  <p>Gives:</p>
  
  <blockquote>
    <p>./test.sh: line 6: syntax error near unexpected token <code>;' ./test.sh:<br>
    line 6:</code>  ;&amp;'</p>
  </blockquote>