Annotation of 43BSDTahoe/usr.lib/learn/editor/L20.2b, revision 1.1.1.1

1.1       root        1: #print
                      2: There is an easier way to do that.  You can just say
                      3:    5c
                      4:    input text for new version
                      5:    .
                      6: using the 'c' command ('c' stands for 'change') which
                      7: will delete the old version of the line and
                      8: replace it.  Note that the input text after 'c' ends
                      9: with a '.' just like the text after the 'a' or 'i' commands.
                     10: This directory contains a file named "lineup".  Change
                     11: the third line to read "neal walk" and print the file
                     12: before and after.  Use a sequence like this, ending in ready:
                     13: 
                     14: ex lineup
                     15: 1,$p
                     16: 3c
                     17: neal walk
                     18: .
                     19: 1,$p
                     20: wq
                     21: ready
                     22: 
                     23: #create Ref
                     24: walt frazier
                     25: earl monroe
                     26: neal walk
                     27: bill bradley
                     28: spencer haywood
                     29: #create lineup
                     30: walt frazier
                     31: earl monroe
                     32: john gianelli
                     33: bill bradley
                     34: spencer haywood
                     35: #user
                     36: #cmp lineup Ref
                     37: #log
                     38: #next
                     39: 20.2c 5

unix.superglobalmegacorp.com

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