Hi
I have the following to a compare numbers in ksh:
if [ $UTILIZED -gt $THRESHOLD ]; then
mail_me
fi
(I am monitoring df -k output)
Can I assume since the variable will contain a number it is treated as a numer? Or do i have to do something w/typeset to make it a number??
-john
I have the following to a compare numbers in ksh:
if [ $UTILIZED -gt $THRESHOLD ]; then
mail_me
fi
(I am monitoring df -k output)
Can I assume since the variable will contain a number it is treated as a numer? Or do i have to do something w/typeset to make it a number??
-john