summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/editor/L9.3c
blob: 859ccb0ecf65917139d1953a95a46a6e3797ae71 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#print
You can make up addresses for the 'p' command
using '.' for the current line when there are
two addresses, also.  For example, you could
print from the first line up to the present
line with
  1,.p
and I suggest you try that now.  After
that command, type the usual
  w
  q
  ready
#create Ref
83
broccoli
mushrooms
cauliflower
squash
carrots
lettuce
string beans
peas
lima beans
83
#create file
broccoli
mushrooms
cauliflower
squash
carrots
lettuce
string beans
peas
lima beans
#copyout
#pipe
ed file
#user
#unpipe
#uncopyout
#cmp .ocopy Ref
#log
#next
9.2d 5