Annotation of 43BSD/usr.lib/learn/editor/L72.1a, revision 1.1.1.1

1.1       root        1: #print
                      2: A command related to the global command is the 'v' command.
                      3: It also selects lines on which a second command is executed; the
                      4: difference between 'g' and 'v' is that the selected lines
                      5: for the 'v' command are all those on which the expression
                      6: is NOT found.  Thus
                      7:   v/abc/s/x/y/g
                      8: changes 'x' to 'y' on all lines NOT containing an 'abc'.
                      9: There is a file 'price' in this directory.  Find all lines
                     10: that do NOT begin with blank and prefix three asterisks
                     11: to them.  Then rewrite the file and type "ready".
                     12: #create Ref
                     13: ***beef
                     14:   shoulder 1.39/lb
                     15:   flank    1.59/lb
                     16:   sirloin  2.19/lb
                     17:   round    1.89/lb
                     18: ***fish
                     19:   sword    3.99/lb
                     20:   cod      1.99/lb
                     21:   blues    2.49/lb
                     22:   stripers 3.49/lb
                     23:   flounder 2.99/lb
                     24: ***pork
                     25:   shoulder  .89/lb
                     26:   loin     1.59/lb
                     27:   bacon    1.19/lb
                     28: #create price
                     29: beef
                     30:   shoulder 1.39/lb
                     31:   flank    1.59/lb
                     32:   sirloin  2.19/lb
                     33:   round    1.89/lb
                     34: fish
                     35:   sword    3.99/lb
                     36:   cod      1.99/lb
                     37:   blues    2.49/lb
                     38:   stripers 3.49/lb
                     39:   flounder 2.99/lb
                     40: pork
                     41:   shoulder  .89/lb
                     42:   loin     1.59/lb
                     43:   bacon    1.19/lb
                     44: #user
                     45: #cmp price Ref
                     46: #log
                     47: #next
                     48: 73.1a 10

unix.superglobalmegacorp.com

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