title: Alternate merge strings in BASH
body: <p>From</p>
  
  <pre><code>KS=$(locate acpi-support | grep "/etc/rc" | cut -f4 -d/ | tr -dc '[K,S]')
  LEVELS=$(locate acpi-support | grep "/etc/rc" | cut -f3 -d/ | tr -dc '[0-9]')
  echo $KS
  echo $LEVELS
  </code></pre>
  
  <p>I get the following outputs:</p>
  
  <pre><code>KSSSS
  12345
  </code></pre>
  
  <p>What I'd like to do is to merge alternatively the previous outputs in this way:</p>
  
  <pre><code>K1 S2 S3 S4 S5
  </code></pre>
  
  <p>I tried whit nested <em>for</em> loops but without success, how could I do it?</p>