• > is for string comparisons. Use -gt instead.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: