title: Case insensitive comparision in If condition
body: <p>I have this csv file and i need to count the number of rows which satisfies the condition that the row entry is betwen a certain year range and the artist_name matches the name argument. But the string matching should be case insensitive. How do i achieve that in the if loop..</p>
  
  <p>I am a beginner, so please bear with me</p>
  
  <pre><code>#!/bin/bash
  
  file="$1"
  artist="$2" 
  from_year="$(($3-1))"
  to_year="$(($4+1))"
  count=0
  
  while IFS="," read arr1 arr2 arr3 arr4 arr5 arr6 arr7 arr8 arr9 arr10 arr11 ; do
  
  if [[ $arr11 -gt $from_year ]] &amp;&amp; [[ $arr11 -lt $to_year ]] &amp;&amp; [[ $arr7  =~ $artist ]]; then
  count=$((count+1))
  fi
  
  done &lt; "$file"
  echo $count
  </code></pre>
  
  <p>The $arr7 =~ $artist part is where i need to make the modification</p>