summaryrefslogtreecommitdiff
path: root/static/v10/man1/goto.1
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man1/goto.1
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man1/goto.1')
-rw-r--r--static/v10/man1/goto.137
1 files changed, 37 insertions, 0 deletions
diff --git a/static/v10/man1/goto.1 b/static/v10/man1/goto.1
new file mode 100644
index 00000000..64feea78
--- /dev/null
+++ b/static/v10/man1/goto.1
@@ -0,0 +1,37 @@
+.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 --