|
|
1.1 root 1: #print
2: To avoid just accumulating lines forever, you need some
3: way of getting rid of them. The 'd' command (delete) removes
4: lines you don't want. Since it also removes lines that
5: you do want if you tell it to, you should be careful
6: with this command. Deleting one line at a time
7: is always pretty safe. For example
8: 5d
9: will delete line 5 of a file. Try the following
10: sequence; note that I've used "cat"
11: for a change.
12:
13: cat bmt
14: ex bmt
15: 5d
16: wq
17: cat bmt
18: ready
19: #create Ref
20: 14th st
21: 23rd st
22: 28th st
23: 34th st
24: times square
25: 49th st
26: 57th st
27: #create bmt
28: 14th st
29: 23rd st
30: 28th st
31: 34th st
32: 42nd st
33: times square
34: 49th st
35: 57th st
36: #user
37: #cmp bmt Ref
38: #log
39: #next
40: 19.3b 3
41: 19.2c 8
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.