Annotation of 43BSDTahoe/usr.lib/learn/editor/L51.1a, revision 1.1

1.1     ! root        1: #print
        !             2: You can also use relative addresses of the +1 or -1
        !             3: sort with context searches.  For example, to
        !             4: print the line after a line containing "cat",
        !             5: you can say
        !             6:   /cat/+1p
        !             7: How would you print the line before the next line
        !             8: containing "help" at the beginning of the line?
        !             9: Try some experiments if you want,
        !            10: but in the end type "answer COMMAND" where COMMAND
        !            11: is the correct command to do that.
        !            12: #copyin
        !            13: #user
        !            14: #uncopyin
        !            15: #match /^help/-1p
        !            16: #match /^help/-1
        !            17: #match /^help/-
        !            18: #match /^help/-p
        !            19: #succeed
        !            20: The "p" isn't necessary, of course.
        !            21: #cmp X1 X2
        !            22: #log
        !            23: #next
        !            24: 52.1a 10
        !            25: 52.2a 5

unix.superglobalmegacorp.com

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