Errors in if conditions with to many OR conditions

view full story

http://www.unix.com – Hi ALL I have a script where in i need to check for several values in if conditons but when i execute the script it throws error such as "TOO MANY ARGUMENTS" Code: if [ $var1 -gt 1500 -o $var2 -gt 1000 -o $var3 -gt 1000 -o $var4 -gt 1000 -o $var5 -gt 1000 ] then msg="BM VAR Issue :: bmaRequestVAR=$bmaRequestVAR , nltBMVAR=$nltBMVAR , bmaResponseVAR=$bmaResponseVAR , bmResponseVAR=$bmResponseVAR , bmRequestVAR=$bmRequestVAR " SendSms "$msg" wget -q --no-proxy " (HowTos)