|
|
1.1 root 1: .th GOTO I 3/15/72
2: .sh NAME
3: goto \*- command transfer
4: .sh SYNOPSIS
5: .bd goto
6: label
7: .sh DESCRIPTION
8: .it Goto
9: is only allowed when the Shell
10: is taking commands from a file.
11: The file is searched from the beginning
12: for a line beginning with `:' followed by one
13: or more spaces followed by
14: the
15: .it label.
16: If such a line is found, the
17: .it goto
18: command returns.
19: Since the read pointer in the command file points to the
20: line after the label,
21: the effect is to cause the Shell to transfer to the
22: labelled line.
23: .s3
24: `:' is a do-nothing
25: command that is ignored by the Shell and only serves to place a label.
26: .sh "SEE ALSO"
27: sh(I)
28: .sh BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.