fetch_remote_work.sh is quite slow because it connects to a network.
I need run it many times until it works.
./fetch_remote_work.sh while [ $? -ne 0 ] do ./fetch_remote_work.sh done
This obviously works well. However, I don't like being obligated to call the first
I know that in other languages such as php, there is a do while loop that runs at least the first iteration. Which would be very clean if it existed in bash
So my question is: is there a cleaner way than what I did?