Annotation of 42BSD/usr.lib/learn/editor/L9.2a, revision 1.1.1.1

1.1       root        1: #print
                      2: You can print several lines at once by
                      3: using commands like
                      4:   1,3p
                      5: which prints lines 1, 2 and 3.  Again,
                      6: I'll put you into the editor.  Print
                      7: lines 1 to 3 of the file;  then type
                      8: w, q and ready.
                      9: Your commands should look like
                     10:   1,3p
                     11:   w
                     12:   q
                     13:   ready
                     14: #create Ref
                     15: :george washington
                     16: john adams
                     17: thomas jefferson
                     18: :"file" 6 lines, 91 characters
                     19: #create file
                     20: george washington
                     21: john adams
                     22: thomas jefferson
                     23: james madison
                     24: james monroe
                     25: john quincy adams
                     26: #copyout
                     27: #pipe
                     28: ex +'set prompt noopt open' file
                     29: #user
                     30: #unpipe
                     31: #uncopyout
                     32: tail -4 .ocopy >X1
                     33: #cmp X1 Ref 4
                     34: #log
                     35: #next
                     36: 9.2b 5

unix.superglobalmegacorp.com

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