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

1.1       root        1: #print
                      2: Although specifying lines by line number is
                      3: easy to understand, it is hard to do in a long
                      4: file.  You will therefore want to learn other
                      5: ways of addressing lines.  The 'current line'
                      6: is addressed with the symbol 
                      7:   .
                      8: so that it can be printed, for example with
                      9:   .p
                     10: just as you could print a line by "3p".
                     11: Try that in this file; the current line is
                     12: set to the last line of the current file.
                     13: Try ".p"; then "w", "q", and "ready" as usual.
                     14: Here's the full file -
                     15: 
                     16: #create Ref
                     17: :john quincy adams
                     18: #create file
                     19: george washington
                     20: john adams
                     21: thomas jefferson
                     22: james madison
                     23: james monroe
                     24: john quincy adams
                     25: #print file
                     26: #copyout
                     27: #pipe
                     28: ex +'set prompt noopt open' file
                     29: #user
                     30: #unpipe
                     31: #uncopyout
                     32: grep quincy .ocopy >X1
                     33: #cmp X1 Ref
                     34: #log
                     35: #next
                     36: 7.1b 10

unix.superglobalmegacorp.com

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