Annotation of 42BSD/usr.lib/learn/editor/L40.1a, revision 1.1

1.1     ! root        1: #print
        !             2: There is also a special character which indicates
        !             3: the end of the line.  It is '$'.  So that
        !             4:   s/ab$/xy/
        !             5: changes 'ab' to 'xy' only if 'ab' ended the line.
        !             6: In the file 'text' there are some lines which end
        !             7: in 'cup'.  Change them to end in 'saucer'.  Again,
        !             8: it only takes one command.
        !             9: Then rewrite the file and type 'ready'.
        !            10: #create Ref
        !            11: 3 teaspoons = 1 tablespoon
        !            12: 16 tablespoons = 1 saucer
        !            13: 48 teaspoons = 1 saucer
        !            14: 2 cups = 1 pint
        !            15: 2 pints = 1 quart
        !            16: 1/2 pt = 1 saucer
        !            17: #create text
        !            18: 3 teaspoons = 1 tablespoon
        !            19: 16 tablespoons = 1 cup
        !            20: 48 teaspoons = 1 cup
        !            21: 2 cups = 1 pint
        !            22: 2 pints = 1 quart
        !            23: 1/2 pt = 1 cup
        !            24: #user
        !            25: #cmp text Ref
        !            26: #log
        !            27: #next
        !            28: 40.1b 5
        !            29: 40.2b 10

unix.superglobalmegacorp.com

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