Annotation of 43BSD/usr.lib/learn/editor/L53.1a, revision 1.1.1.1

1.1       root        1: #print
                      2: Note that the // searches always go forward.
                      3: Sometimes you want to go backward, to find
                      4: some expression on a line before the
                      5: one you are now working on.
                      6: In that case you can search with a command like
                      7:   ?abc?p
                      8: which prints the nearest preceding line which
                      9: contains 'abc'.  What command would print
                     10: the nearest previous line that ends in 'cat'?
                     11: Type "answer COMMAND" when you figure it out.
                     12: #copyin
                     13: #user
                     14: #uncopyin
                     15: #match ?cat$?p
                     16: The "p" isn't needed, but use it if you like too.
                     17: #match ?cat$?
                     18: #log
                     19: #next
                     20: 54.1a 10
                     21: 53.2b 7

unix.superglobalmegacorp.com

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