title: Variables from config file in bash:Syntax error :operand expected (error token is "<")
body: <p>So I have this config file in which the set the value such as</p>
  
  <pre><code>config.sh
  
  nFiles=2
  
  myScript.sh
  
  for ((i=0;i&lt;$nFiles;i++));
  do
       mv -v $FILE_GEN_SOURCE/${FILES[i]} $FILE_DEST;
  done  
  </code></pre>
  
  <p>But this gives me this </p>
  
  <pre><code>error: ((: i&lt;: syntax error: operand expected (error token is "&lt;")
  </code></pre>
  
  <p>I tried removing the $, then the default value of nFiles becomes 0. So any ideas on what is wrong here and what can be done to correct this?</p>