Hello, my code looks as follows:
Code:
if [ "$state" = 1 ] && [ "$i" = *1* ] && [ "$i" != *Batch* ] && [ "$i" != *Int* ]; then
echo "--------------------------------"
However it yells at me because I have more then 2 conditions.
Is there a way to force it to accept 4-6 conditions?
Thanks