Annotation of 43BSD/usr.lib/learn/editor/L9.2d, revision 1.1

1.1     ! root        1: #print
        !             2: The "." operator can be used with multiple
        !             3: addresses to refer to the current line
        !             4: in either the first or second position (or both).
        !             5: For example, you could print from the current line
        !             6: to the 6th line with
        !             7:   .,6p
        !             8: and similarly for any other line.  I'll put
        !             9: you in the editor again, with the current line
        !            10: set in the middle of a short file; print from
        !            11: the current line position to the fifth line, and
        !            12: then type w, q and ready.
        !            13: #create Ref
        !            14: : 2. UNIX
        !            15:   3. hardware
        !            16:   4. software
        !            17:   5. manuals
        !            18: :"file" 6 lines, 126 characters
        !            19: #create file
        !            20: you shouldn't have printed this line.
        !            21:  2. UNIX
        !            22:   3. hardware
        !            23:   4. software
        !            24:   5. manuals
        !            25: you shouldn't have printed this line.
        !            26: #copyout
        !            27: #pipe
        !            28: ex +'2;k x|set prompt noopt open' file
        !            29: #user
        !            30: #unpipe
        !            31: #uncopyout
        !            32: tail -5 .ocopy >X1
        !            33: #cmp X1 Ref 5
        !            34: #log
        !            35: #next
        !            36: 9.2e 5

unix.superglobalmegacorp.com

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