• This loop will only ever run once for a constant value. Did you perhaps mean to loop over dir/*, $var or $(cmd)?
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions