title: ksh array over records
body: <p>I need to associate values based on this table.</p>
  
  <pre><code>KEYS    VALS
  ----    ----
  keyp    val1
  keyp    val2
  keyp    val3
  keyp    val6
  keyc    val4
  keym    val4
  keys    val8
  keyr    val8
  keyb    val5
  </code></pre>
  
  <p>In my ksh, when a parameter is passed that is a KEY, I want to iterate through that table so that I get all the possible VALS.
  For example if parm_key="keyp", my iteration would yield val1, val2, val3, val6.
  Psuedocode:</p>
  
  <pre><code>for iLoop in "${!KEYS2VALS[@]}"
  do
      if [[ KEYS2VALS[iLoop] = $parm_key ]];then
          print "found value match=$KEYS2VALS[iLoop].VAL"
      fi
  done
  </code></pre>
  
  <p>The output from that psuedocode should be the below if $parm_key="keyp"</p>
  
  <pre><code>found value match=val1
  found value match=val2
  found value match=val3
  found value match=val6
  </code></pre>