BSD 4_1_snap development
[unix-history] / usr / lib / learn / editor / L10.3c
CommitLineData
3eb5d546
C
1#print
2Don't forget the use of arithmetic combinations
3with the "p" command. For example, the
4current line is "." and the next line is ".+1";
5do you see how to print the current line and the
6next line with one command? Think of it as "print
7from this line to the next line". Type "answer COMMAND"
8where 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
1810.3d 5
1910.1b 10