Bash do-podczas gdy

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