title: Use sed with ignore case while adding text before some pattern
body: <pre><code>sed -i '/first/i This line to be added' 
  </code></pre>
  
  <p>In this case,how to ignore case while searching for pattern =first </p>