I'm trying to read from user and then do the following.
read framechoice
 if [ $framechoice -gt 100 ]; then 
   if [ $framechoice -lt 0 ]; then
          framechoice=101
   fi
 fi
It gives me the following error.
[: -gt: unary operator expected
Can anyone tell me where I am going wrong.
 
     
     
     
    