summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/editor/L8.2b
blob: f7aeef5a7ee39648969f951e83b3914c1d54f392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#print
Using the same scheme, print lines 2 and 3 of this file.
Then rewrite it and leave and type "ready".
#create Ref
john adams
thomas jefferson
91
#create file
george washington
john adams
thomas jefferson
james madison
james monroe
john quincy adams
#copyout
#pipe
ed file
#user
#unpipe
#uncopyout
tail -3 .ocopy >X1
#cmp Ref X1
#log
#next
8.2c 3
8.1b 8