blob: 7d5a1e7d0619d4f102fc7188da7b5b3c932e67e9 (
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
Printing only one line at a time gets pretty
slow. You can print several lines with
commands like
1,3p
which prints lines 1, 2 and 3.
Again, I'll put you into the editor
with the familiar file. Print lines
2 through 5 of it; then type w, q and ready.
#create Ref
john adams
thomas jefferson
james madison
james monroe
91
#create file
george washington
john adams
thomas jefferson
james madison
james monroe
john quincy adams
#copyout
#pipe
ed file
#user
#unpipe
#uncopyout
tail -5 .ocopy >X1
#cmp X1 Ref
#log
#next
10.1a 10
9.2e 5
|