title: case insensitive string comparison in bash
body: <p>The following line removes the leading text before the variable <code>$PRECEDING</code></p>
  
  <pre><code>temp2=${content#$PRECEDING}
  </code></pre>
  
  <p>But now i want the <code>$PRECEDING</code> to be case-insensitive. This works with <code>sed</code>'s <code>I</code> flag. But i can't figure out the whole cmd.</p>