Annotation of 43BSD/usr.lib/learn/editor/L7.1b, revision 1.1.1.1

1.1       root        1: #print
                      2: As I said, '.' is set to the last line touched
                      3: by any command in the editor.  So if you type
                      4:   3p
                      5: . will be set to line 3; and then 
                      6:   .p
                      7: will print the same line.
                      8: Try that - 
                      9: with the usual trailer, the commands should be
                     10: 
                     11: 3p
                     12: .p
                     13: w
                     14: q
                     15: ready
                     16: 
                     17: The file is the same as before.
                     18: #create Ref
                     19: 3p
                     20: .p
                     21: w
                     22: q
                     23: #create file
                     24: george washington
                     25: john adams
                     26: thomas jefferson
                     27: james madison
                     28: james monroe
                     29: john quincy adams
                     30: #pipe
                     31: #copyin
                     32: ex +'set prompt noopt open' file
                     33: #user
                     34: #uncopyin
                     35: #unpipe
                     36: tail -4  .copy >X1
                     37: #cmp X1 Ref
                     38: #log
                     39: #next
                     40: 8.1a 10
                     41: 8.2a 6
                     42: 7.2c 2

unix.superglobalmegacorp.com

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