Skip to main content
offer another way to solve issue.
Source Link

You can try to break up your statements:

if [ $tempTime -gt 015 ] && [ $tempTime -lt 0 ]; then stuff... fi 

or use the double bracket to test for the a binary result of an expression:

 if [[ $tempTime -gt 015 && $tempTime -lt 0 ]]; then stuff... fi 

You can try to break up your statements:

if [ $tempTime -gt 015 ] && [ $tempTime -lt 0 ]; then stuff... fi 

You can try to break up your statements:

if [ $tempTime -gt 015 ] && [ $tempTime -lt 0 ]; then stuff... fi 

or use the double bracket to test for the a binary result of an expression:

 if [[ $tempTime -gt 015 && $tempTime -lt 0 ]]; then stuff... fi 
Source Link

You can try to break up your statements:

if [ $tempTime -gt 015 ] && [ $tempTime -lt 0 ]; then stuff... fi