|
|
1.1 root 1: .pa 1
2: .he 'GOTO (I)'3/15/72'GOTO (I)'
3: .ti 0
4: NAME goto -- command transfer
5: .sp
6: .ti 0
7: SYNOPSIS goto____ label
8: .sp
9: .ti 0
10: DESCRIPTION goto____
11: is only allowed when the Shell
12: is taking commands from a file.
13: The file is searched (from the beginning)
14: for a line beginning with ":" followed by one
15: or more spaces followed by
16: the label_____.
17: If such a line is found, the goto____ command returns.
18: Since the read pointer in the command file points to the
19: line after the label,
20: the effect is to cause the Shell to transfer to the
21: labelled line.
22:
23: ":" is a do-nothing
24: command that only serves to place a label.
25: .sp
26: .ti 0
27: FILES --
28: .sp
29: .ti 0
30: SEE ALSO sh(I), :(I)
31: .sp
32: .ti 0
33: DIAGNOSTICS "goto error", if
34: the input file is a typewriter; "label not found".
35: .sp
36: .ti 0
37: BUGS --
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.