Commit | Line | Data |
---|---|---|
3eb5d546 C |
1 | |
2 | Now, print the fourth line in this file twice, | |
3 | using the same pattern. The file is the same, | |
4 | and you should put the usual finish (w, q, ready) | |
5 | after printing the line. | |
6 | #create Ref | |
7 | 4p | |
8 | .p | |
9 | w | |
10 | q | |
11 | #create file | |
12 | george washington | |
13 | john adams | |
14 | thomas jefferson | |
15 | james madison | |
16 | james monroe | |
17 | john quincy adams | |
18 | #pipe | |
19 | #copyin | |
20 | ed file | |
21 | #user | |
22 | #uncopyin | |
23 | #unpipe | |
24 | tail -4 .copy >X1 | |
25 | #cmp X1 Ref | |
26 | #log | |
27 | #next | |
28 | 8.1a 10 | |
29 | 8.2a 5 |