while

while test command

Runs the command while the test, an expr expression, is true. Put the test in braces, so that it is read again on each pass. The result is an empty string.

Examples

A click on an example runs it in the shell of the page.

Facts