Annotation of 42BSD/usr.lib/learn/editor/L9.3c, revision 1.1.1.1

1.1       root        1: #print
                      2: You can make up addresses for the 'p' command
                      3: using '.' for the current line when there are
                      4: two addresses, also.  For example, you could
                      5: print from the first line up to the present
                      6: line with
                      7:   1,.p
                      8: and I suggest you try that now.  After
                      9: that command, type the usual
                     10:   w
                     11:   q
                     12:   ready
                     13: #create Ref
                     14: :broccoli
                     15: mushrooms
                     16: cauliflower
                     17: squash
                     18: carrots
                     19: lettuce
                     20: string beans
                     21: peas
                     22: lima beans
                     23: :"file" 9 lines, 83 characters
                     24: #create file
                     25: broccoli
                     26: mushrooms
                     27: cauliflower
                     28: squash
                     29: carrots
                     30: lettuce
                     31: string beans
                     32: peas
                     33: lima beans
                     34: #copyout
                     35: #pipe
                     36: ex +'set prompt noopt open' file
                     37: #user
                     38: #unpipe
                     39: #uncopyout
                     40: tail -10 .ocopy >X1
                     41: #cmp X1 Ref 10
                     42: #log
                     43: #next
                     44: 9.2d 5

unix.superglobalmegacorp.com

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