Annotation of 42BSD/usr.lib/learn/editor/L10.3c, revision 1.1.1.1

1.1       root        1: #print
                      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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.