summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/editor/L9.2b
blob: 3f9aca81d5a36d91ca3429e439909c0bc1ce8a9d (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
#print
You can of course use any kind of line
numbers for the addresses in the
"p" command.  Just as you did before,
print lines 2 through 5 of this file,
and then type w, q, and ready.
#create Ref
mushrooms
cauliflower
squash
carrots
83
#create file
broccoli
mushrooms
cauliflower
squash
carrots
lettuce
string beans
peas
lima beans
#copyout
#pipe
ed file
#user
#unpipe
#uncopyout
tail -5 .ocopy >X1
#cmp X1 Ref
#log
#next
9.3c 3
9.2d 7