if [ ${1:$var} -lt ${2:$other} ]; then echo 'Less than $2' else echo 'Greater than $2' fi