Annotation of 43BSDTahoe/usr.lib/learn/editor/L32.2a, revision 1.1

1.1     ! root        1: #print
        !             2: Just as you can use abbreviations to specify a class of
        !             3: filenames, you can use abbreviationss in the editor to recognize
        !             4: strings in the substitute command.  Unfortunately, the
        !             5: characters used in the editor are quite different from the
        !             6: ones used in the file-name handler to specify patterns.
        !             7: (Sorry about that, but that's the way the world is.)
        !             8: 
        !             9: The symbol for 'any character' is '.' and this will
        !            10: match any single letter or other character in a line.
        !            11: For example, 
        !            12:   s/a./bc/
        !            13: looks for an 'a' followed by anything, and changes those
        !            14: two letters into 'bc'.  Try this sequence and note
        !            15: what happens.
        !            16: 
        !            17: ex line
        !            18: p
        !            19: s/a./bc/p
        !            20: wq
        !            21: ready
        !            22: #create Ref
        !            23: me bcd you
        !            24: #create line
        !            25: me and you
        !            26: #user
        !            27: #cmp line Ref
        !            28: #log
        !            29: #next
        !            30: 32.2b 5
        !            31: 32.2c 10

unix.superglobalmegacorp.com

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