Execute commands as long as a test does not succeed.
Synopsis
until TEST-COMMANDS; do COMMANDS; done
Description
Execute COMMANDS repeatedly until TEST-COMMANDS returns exit status 0. The opposite of while. Runs in the just-bash WASM shell inside SLICC.
Examples
$ i=0; until [ $i -ge 5 ]; do echo $i; i=$((i+1)); done
Print numbers 0 through 4.
See Also
while, for