|
|
1.1 root 1: #print
2: You can print an entire file making use
3: of the fact that "$" refers to the last line.
4: The command
5: 1,$p
6: prints from the first line to the last one,
7: or the whole file. Try printing this
8: whole file with this command, and
9: then typing w, q and ready. Your commands
10: should look like
11: 1,$p
12: w
13: q
14: ready
15: #create Ref
16: 1,$p
17: w
18: q
19: #create file
20: New York Mets Managers
21: Casey Stengel
22: Wes Westrum
23: Gil Hodges
24: Yogi Berra
25: Roy McMillan
26: #copyin
27: #pipe
28: ex +'set prompt noopt open' file
29: #user
30: #unpipe
31: #uncopyin
32: tail -3 .copy >X1
33: #cmp X1 Ref
34: #log
35: #next
36: 10.2b 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.