V3/man/man1/goto.1

Compare this file to the similar file:
Show the results in this format:

.pa 1
.he 'GOTO (I)'3/15/72'GOTO (I)'
.ti 0
NAME		goto  --  command transfer
.sp
.ti 0
SYNOPSIS	goto____ label
.sp
.ti 0
DESCRIPTION	goto____
is only allowed 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 command 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 only serves to place a label.
.sp
.ti 0
FILES		--
.sp
.ti 0
SEE ALSO	sh(I), :(I)
.sp
.ti 0
DIAGNOSTICS	"goto error", if
the input file is a typewriter; "label not found".
.sp
.ti 0
BUGS		--