File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / until
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



until                        Command                        until




Execute commands repeatedly

uunnttiill _s_e_q_u_e_n_c_e_1
[ ddoo _s_e_q_u_e_n_c_e_2 ]
done

The shell's  until loop executes  the commands in  sequence1.  If
the exit status is  nonzero, the shell then executes the commands
in the optional sequence2  and repeats the process until the exit
status  of sequence1  is zero.   Because  the shell  recognizes a
reserved word only as the  unquoted first word of a command, both
do and done must occur either  unquoted at the start of a line or
preceded by `;'.

The shell  commands break and continue may be  used to alter con-
trol flow within an until  loop.  The contruct while has the same
form as until but the sense of the test is reversed.

The shell executes until directly.

***** See Also *****

break, commands, continue, sh, test, while

































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.