BSD 4_1_snap development
[unix-history] / usr / lib / learn / editor / L7.2c
CommitLineData
3eb5d546
C
1#print
2Now, print the fourth line in this file twice,
3using the same pattern. The file is the same,
4and you should put the usual finish (w, q, ready)
5after printing the line.
6#create Ref
74p
8.p
9w
10q
11#create file
12george washington
13john adams
14thomas jefferson
15james madison
16james monroe
17john quincy adams
18#pipe
19#copyin
20ed file
21#user
22#uncopyin
23#unpipe
24tail -4 .copy >X1
25#cmp X1 Ref
26#log
27#next
288.1a 10
298.2a 5