echo "starting tests" while false; do echo "should NOT be printed" done a='yes' while [ "$a" -eq "yes" ]; do a="no" echo "should be printed only once" done; echo "tests done"