Bell 32V development
[unix-history] / usr / lib / learn / editor / L52.2a
CommitLineData
00b28f22
TL
1#print
2You can use pairs of addresses which involve searches. For example,
3to print all lines from the first line until the next line containing
4"stop", say
5
6 1,/stop/p
7
8In this directory is a file "list". Print all lines from
9the first line to a line containing "023". Then leave the editor
10and type "ready".
11#create list
12bio011
13bio012
14bio013
15bio014
16bio015
17bio016
18bio017
19bio021
20bio022
21bio023
22bio024
23bio025
24bio026
25bio027
26bio028
27bio031
28bio032
29bio033
30bio034
31bio035
32bio036
33bio037
34bio038
35bio041
36bio042
37bio043
38bio044
39bio045
40bio046
41bio047
42bio051
43#create x2
44bio011
45bio012
46bio013
47bio014
48bio015
49bio016
50bio017
51bio021
52bio022
53bio023
54#copyout
55#user
56#uncopyout
57grep bio .ocopy >x1
58#cmp x1 x2
59#log
60#next
6152.2b 5