Annotation of 42BSD/usr.lib/learn/editor/L5.1a, revision 1.1.1.1

1.1       root        1: #print
                      2: The most frequently used editor command is
                      3:   p
                      4: which prints out a line.  Try that now.
                      5: Type the command sequence
                      6: 
                      7: p
                      8: w
                      9: q
                     10: 
                     11: to print out a line, and then write out the file.
                     12: Then type "ready".
                     13: #create Ref
                     14: :This is the line to be printed. Don't forget w, then q.
                     15: :"file" 1 line, 56 characters
                     16: #create file
                     17: This is the line to be printed. Don't forget w, then q.
                     18: #copyout
                     19: #pipe
                     20: ex +'set prompt noopt open' file
                     21: #user
                     22: #unpipe
                     23: #uncopyout
                     24: tail -2 .ocopy >X2
                     25: #cmp Ref X2 2
                     26: #log
                     27: #next
                     28: 6.1a 5
                     29: 6.2a 2

unix.superglobalmegacorp.com

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