Bash do-

while : ; do 
    ACTION_CODE
    [[ CONDITION_STATEMENT ]] || break
done
Armandres