#!/bin/bash

function usage {
  echo Usage:
  echo -e \\t`basename $0` num1 num2
  exit 1
}

if [ $# -ne 2 ]; then
  usage
fi

# -eq : equal
if [ $1 -eq $2 ]; then
  echo "$1 = $2"
fi

# -ne : not equal
if [ $1 -ne $2 ]; then
  echo "$1 != $2"
fi

# -lt : less than
if [ $1 -lt $2 ]; then
  echo "$1 < $2"
fi

# -le : less than or equal
if [ $1 -le $2 ]; then
  echo "$1 <= $2"
fi

# -gt : greater than
if [ $1 -gt $2 ]; then
  echo "$1 > $2"
fi

# -ge : greater than or equal
if [ $1 -ge $2 ]; then
  echo "$1 >= $2"
fi
