If and Or Condition in Unix [ksh] | Unix Linux Forums | Shell Programming and Scripting

If and Or Condition in Unix [ksh] | Unix Linux Forums | Shell Programming and Scripting

瀏覽:822
日期:2025-06-11
I have the code below. I want to said If TrackErrors > 0 or count == 0 then MailErrors else MailSuccess fi. if [ \${trackErrors} -gt 0 || \${count} -eq 0 ] then MailErrors \${count} else MailSuccess \$ ... Shell Programming and Scripting P...看更多