title: EOL error (unexpected EOF while looking for matching `)')
body: <p>If I start the script from this error:</p>
  
  <pre><code>./Sinusbot.sh: line 276: unexpected EOF while looking for matching `)'
  ./Sinusbot.sh: line 305: syntax error: unexpected end of file
  </code></pre>
  
  <p>Part of the affected script:</p>
  
  <pre><code>echo -e "$info Configuring instances"
  if [ "$ydl" = "y" ] || [ "$ydl" = "Y" ]; then
      c2="0"
      while [ $c2 = $nbot ]
      do
          c2=$((c2+1)                     #Line 276
          bport=$((bport+1)
          cd
          cd Sinus-$2
          cat &gt; config.ini &lt;&lt; EOL
          ListenPort = ${bport}
          ListenHost = "0.0.0.0"
          TS3Path = "TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
          YoutubeDLPath = "youtube-dl"
          DataDir = "data/"
          EOL
      done
  else
      while [ $c2 = $nbot ]
      do
          c2=$((c2+1)
          bport=$((bport+1)
          cd
          cd Sinus-$2
          cat &gt; config.ini &lt;&lt; EOL
          ListenPort = ${bport}
          ListenHost = "0.0.0.0"
          TS3Path = "TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
          DataDir = "data/"
          EOL
      done
  fi
                                     #line 305
  </code></pre>
  
  <p>Why does this happen and how can I fix it?</p>
  
  <p>In addition to notepad ++ all the lines appear blue since I put "cat" config.ini &lt;&lt; EOL "how come? And how can I take it off?</p>
  
  <p><a href="https://i.stack.imgur.com/OGNwM.png" rel="nofollow noreferrer">image notepad ++</a></p>