Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ break(1CSH) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

@(1csh)

alias(1csh)

bg(1csh)

break(1sh)

cd(1csh)

chdir(1csh)

continue(1csh)

continue(1sh)

csh(1csh)

BREAK(1CSH)

dirs(1csh)

echo(1csh)

eval(1csh)

exec(1csh)

exit(1csh)

fg(1csh)

glob(1csh)

goto(1csh)

hashstat(1csh)

history(1csh)

jobs(1csh)

kill(1csh)

limit(1csh)

logout(1csh)

nice(1csh)

nohup(1csh)

notify(1csh)

onintr(1csh)

popd(1csh)

pushd(1csh)

rehash(1csh)

repeat(1csh)

set(1csh)

setenv(1csh)

sh(1sh)

shift(1csh)

source(1csh)

stop(1csh)

suspend(1csh)

time(1csh)

umask(1csh)

unhash(1csh)

unalias(1csh)

unlimit(1csh)

unset(1csh)

unsetenv(1csh)

wait(1csh)

which(1csh)



BREAK(1CSH)             COMMAND REFERENCE             BREAK(1CSH)



NAME
     break - exit from loop (csh built-in)

SYNOPSIS
     break

DESCRIPTION
     The break command causes execution to resume after the end
     statement of the enclosing while or foreach loop.  The
     remaining commands on the current line are executed, thus,
     multi-level breaks may be implemented by putting multiple
     break commands on the same line.

EXAMPLES
     The following example shows a while statement which is used
     to read data from the standard input and process the data
     using the (undefined) command `process'.  The break is used
     to exit the loop when the string ``end'' is read.



          while (1)
               set x="$<"
               if ("$x" == "end") then
                    break
               endif
               process "$x"
          end


DIAGNOSTICS
     break: Too many arguments.
                    The break command does not take arguments,
                    but arguments were given.

     break: Not in while/foreach.
                    A break command was found outside of a while
                    or foreach statement.

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [1]            An error of the type described in the message
                    occurred.

CAVEATS
     Unlike the sh(1sh) built-in break, this command does not
     take an argument.

SEE ALSO
     @(1csh), alias(1csh), bg(1csh), break(1sh), cd(1csh),
     chdir(1csh), continue(1csh), continue(1sh), csh(1csh),



Printed 10/17/86                                                1





BREAK(1CSH)             COMMAND REFERENCE             BREAK(1CSH)



     dirs(1csh), echo(1csh), eval(1csh), exec(1csh), exit(1csh),
     fg(1csh), glob(1csh), goto(1csh), hashstat(1csh),
     history(1csh), jobs(1csh), kill(1csh), limit(1csh),
     logout(1csh), nice(1csh), nohup(1csh), notify(1csh),
     onintr(1csh), popd(1csh), pushd(1csh), rehash(1csh),
     repeat(1csh), set(1csh), setenv(1csh), sh(1sh), shift(1csh),
     source(1csh), stop(1csh), suspend(1csh), time(1csh),
     umask(1csh), unhash(1csh), unalias(1csh), unlimit(1csh),
     unset(1csh), unsetenv(1csh), wait(1csh), which(1csh).














































Printed 10/17/86                                                2





































































%%index%%
na:72,91;
sy:163,99;
de:262,506;
ex:768,524;
di:1292,446;
rv:1738,230;
ca:1968,182;
se:2150,316;2610,1263;
%%index%%000000000140

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026