I have a
while loop in this form:
while :; do performTask1 || break performTask2 || break performTask3 || break ... performTaskX || break done
Basically, I want to break out of the loop whenever one of the tasks errors out. Is there a better way to achieve this?
I suppose another way to do this is:
while :; do performTask1 && performTask2 ... && performTaskX || break done
However, this still looks ugly to me.