Commit | Line | Data |
---|---|---|
3eb5d546 C |
1 | |
2 | Don't forget the use of arithmetic combinations | |
3 | with the "p" command. For example, the | |
4 | current line is "." and the next line is ".+1"; | |
5 | do you see how to print the current line and the | |
6 | next line with one command? Think of it as "print | |
7 | from this line to the next line". Type "answer COMMAND" | |
8 | where COMMAND is what your line with "p" will look like. | |
9 | #copyin | |
10 | #user | |
11 | #uncopyin | |
12 | #match .,.+1p | |
13 | #match .,+p | |
14 | #match .,+1p | |
15 | #match .,.1p | |
16 | #log | |
17 | #next | |
18 | 10.3d 5 | |
19 | 10.1b 10 |