title: for loop on files that don't exist
body: <p>I want to process a set of files (*.ui) in the current directory. The following script works as expected if some *.ui files are found. But if no .ui file exist the current directory, the for loop is entered all the same. Why is that ?</p>
  
  <pre><code>for f in *.ui
  do
      echo "Processing $f..."
  done
  </code></pre>
  
  <p>It prints :</p>
  
  <pre><code>Processing *.ui...
  </code></pre>