goto.1 - nroff source : Read goto(I) in pdf, ps, or txt form.

GOTO(I)                                                                GOTO(I)

NAME
       goto - command transfer

SYNOPSIS
       goto label

DESCRIPTION
       Goto  is  allowed  only  when the Shell is taking commands from a file.
       The file is searched from the beginning for a line beginning  with  `:'
       followed  by  one or more spaces followed by the label.  If such a line
       is found, the goto command returns.  Since the read pointer in the com-
       mand  file  points  to the line after the label, the effect is to cause
       the Shell to transfer to the labelled line.

       `:' is a do-nothing command that is  ignored  by  the  Shell  and  only
       serves to place a label.

SEE ALSO
       sh(I)

BUGS
                                    3/15/72                            GOTO(I)