File:  [Research Unix] / researchv10dc / dist / man / v4 / man1 / goto.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.th GOTO I 3/15/72
.sh NAME
goto  \*-  command transfer
.sh SYNOPSIS
.bd goto
label
.sh DESCRIPTION
.it 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
.it label.
If such a line is found, the
.it 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.
.s3
`:' is a do-nothing
command that is ignored by the Shell and only serves to place a label.
.sh "SEE ALSO"
sh(I)
.sh BUGS

unix.superglobalmegacorp.com

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