title: Nesting a for loop in an if else statement
body: <pre><code>if [ ! -f ./* ]; then
    for files in $(find . -maxdepth 1 -type f); do
      echo $files
  else
    echo Nothing here
  fi
  </code></pre>
  
  <p>Returns </p>
  
  <blockquote>
    <p>syntax error near unexpected token `else'</p>
  </blockquote>
  
  <p>New to this. Can anyone point me to what I did wrong?</p>