if [ $(stat -c %s $OTDEFERS) -gt 128 ] ; then
echo
echo WARNING: Records have been written to the defers file
STEP_WARNING=1
fi
I'm getting the following error when running this script:
-gt: unary operator expected
I read that putting the variables in double quotes usually does the job but how would it work with a variable that is contained within brackets?