|
|
1.1 root 1: #print
2: For symmetry, you can use
3:
4: +
5:
6: instead of either ".+1p" or an empty line (just a newline).
7: The only advantage that + has is that you can repeat it:
8:
9: ++
10:
11: prints the second following line, and
12:
13: +++
14:
15: the third. The same is true of -. If the current line is
16: line number 10, what line number is -- going to be?
17: (Hint: you can find out by editing a file such as "pres",
18: saying "10p", and then saying "--",
19: and then saying ".=" - remember the "=" command?)
20: When you find out, type "answer N" where
21: N is the number.
22: #create pres
23: George Washington
24: John Adams
25: Thomas Jefferson
26: James Madison
27: James Monroe
28: John Quincy Adams
29: Andrew Jackson
30: Martin van Buren
31: William Henry Harrison
32: John Tyler
33: James K. Polk
34: Franklin Pierce
35: Millard Fillmore
36: James Buchanan
37: Abraham Lincoln
38: #copyin
39: #user
40: #uncopyin
41: #match 8
42: #log
43: #next
44: 60.1a 10
45: 60.2a 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.