|
|
1.1 root 1: #print
2: You can use pairs of addresses which involve searches. For example,
3: to print all lines from the first line until the next line containing
4: "stop", say
5:
6: 1,/stop/p
7:
8: In this directory is a file "list". Print all lines from
9: the first line to a line containing "023". Then leave the editor
10: and type "ready".
11: #create list
12: bio011
13: bio012
14: bio013
15: bio014
16: bio015
17: bio016
18: bio017
19: bio021
20: bio022
21: bio023
22: bio024
23: bio025
24: bio026
25: bio027
26: bio028
27: bio031
28: bio032
29: bio033
30: bio034
31: bio035
32: bio036
33: bio037
34: bio038
35: bio041
36: bio042
37: bio043
38: bio044
39: bio045
40: bio046
41: bio047
42: bio051
43: #create x2
44: :bio011
45: bio012
46: bio013
47: bio014
48: bio015
49: bio016
50: bio017
51: bio021
52: bio022
53: bio023
54: #copyout
55: #user
56: #uncopyout
57: grep bio .ocopy >x1
58: #cmp x1 x2
59: #log
60: #next
61: 52.2b 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.