Index

until clause

Halt script execution until the given boolean clause becomes true.

Arguments:
clause
The Boolean condition that must be satisfied before the script is allowed to continue.

Example:
The following example pauses script execution for 5 minutes. The inclusion of the signaled function allows the wait to be interrupted by an interactive user who types the user sends a quit signal.
 until $elapsed() > 5m | $signaled(quit)
Context:
The until command provides the primary mechanism by which the timing of control system activities is scheduled. The condition that you provide is re-evaluated every 100ms until it becomes satisfied. At that point the next command in the script is executed.

Martin Shepherd (3-May-1999)