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