Annotation of 43BSDTahoe/usr.lib/learn/editor/L9.1a, revision 1.1.1.1

1.1       root        1: #print
                      2: Printing only one line at a time gets pretty
                      3: slow.  You can print several lines with
                      4: commands like
                      5:   1,3p
                      6: which prints lines 1, 2 and 3.
                      7: Again, I'll put you into the editor
                      8: with the familiar file.  Print lines
                      9: 2 through 5 of it; then type w, q and ready.
                     10: #create Ref
                     11: :john adams
                     12: thomas jefferson
                     13: james madison
                     14: james monroe
                     15: :"file" 6 lines, 91 characters
                     16: #create file
                     17: george washington
                     18: john adams
                     19: thomas jefferson
                     20: james madison
                     21: james monroe
                     22: john quincy adams
                     23: #copyout
                     24: #pipe
                     25: ex +'set prompt noopt open' file
                     26: #user
                     27: #unpipe
                     28: #uncopyout
                     29: tail -5 .ocopy >X1
                     30: #cmp X1 Ref 5
                     31: #log
                     32: #next
                     33: 10.1a 10
                     34: 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.