Commit | Line | Data |
---|---|---|
3eb5d546 C |
1 | |
2 | You can make up addresses for the 'p' command | |
3 | using '.' for the current line when there are | |
4 | two addresses, also. For example, you could | |
5 | print from the first line up to the present | |
6 | line with | |
7 | 1,.p | |
8 | and I suggest you try that now. After | |
9 | that command, type the usual | |
10 | w | |
11 | q | |
12 | ready | |
13 | #create Ref | |
14 | 83 | |
15 | broccoli | |
16 | mushrooms | |
17 | cauliflower | |
18 | squash | |
19 | carrots | |
20 | lettuce | |
21 | string beans | |
22 | peas | |
23 | lima beans | |
24 | 83 | |
25 | #create file | |
26 | broccoli | |
27 | mushrooms | |
28 | cauliflower | |
29 | squash | |
30 | carrots | |
31 | lettuce | |
32 | string beans | |
33 | peas | |
34 | lima beans | |
35 | #copyout | |
36 | #pipe | |
37 | ed file | |
38 | #user | |
39 | #unpipe | |
40 | #uncopyout | |
41 | #cmp .ocopy Ref | |
42 | #log | |
43 | #next | |
44 | 9.2d 5 |