Annotation of 43BSD/usr.lib/learn/editor/L52.1a, revision 1.1

1.1     ! root        1: #print
        !             2: A very powerful tool is to use pairs of addresses
        !             3: which include searches.  For example, to print
        !             4: all lines from the present line to the next line
        !             5: containing "stop", say
        !             6:   .,/stop/p
        !             7: (remember that "." is the present line).  In this
        !             8: directory is a file "outline".  Find the line that
        !             9: begins "B.3.i".  Note that this line, and the next
        !            10: few lines, should begin "A..." for consistency.
        !            11: (Print the whole file to see what's wrong).
        !            12: Change all lines from this line to
        !            13: the line beginning "B.3.v" to begin "A.3".
        !            14: Then rewrite the file and type "ready".
        !            15: #create Ref
        !            16: First section
        !            17: A.1.i    Introduction
        !            18: A.1.ii   Definitions
        !            19: Second section
        !            20: A.2.i    Scope
        !            21: A.2.ii   Date effective
        !            22: A.2.iii  Who covered
        !            23: Third section
        !            24: A.3.i    Governing committee
        !            25: A.3.ii   Chairman's election
        !            26: A.3.iii  Board terms
        !            27: A.3.iv   Board elections
        !            28: A.3.v    Removal procedure
        !            29: Fourth section
        !            30: A.4.i    Meetings
        !            31: A.4.ii   Place of meeting
        !            32: A.4.iii  Frequency of meetings
        !            33: Fifth section
        !            34: A.5.i    Record keeping
        !            35: A.5.ii   Corresponding secretary
        !            36: A.5.iii  Recording secretary
        !            37: A.5.iv   Financial records
        !            38: #create outline
        !            39: First section
        !            40: A.1.i    Introduction
        !            41: A.1.ii   Definitions
        !            42: Second section
        !            43: A.2.i    Scope
        !            44: A.2.ii   Date effective
        !            45: A.2.iii  Who covered
        !            46: Third section
        !            47: B.3.i    Governing committee
        !            48: B.3.ii   Chairman's election
        !            49: B.3.iii  Board terms
        !            50: B.3.iv   Board elections
        !            51: B.3.v    Removal procedure
        !            52: Fourth section
        !            53: A.4.i    Meetings
        !            54: A.4.ii   Place of meeting
        !            55: A.4.iii  Frequency of meetings
        !            56: Fifth section
        !            57: A.5.i    Record keeping
        !            58: A.5.ii   Corresponding secretary
        !            59: A.5.iii  Recording secretary
        !            60: A.5.iv   Financial records
        !            61: #user
        !            62: #cmp outline Ref
        !            63: #succeed
        !            64: You got it right: I hope you found that the easiest
        !            65: way to change the file would be with the commands
        !            66:  /B.3.i/p
        !            67:  .,/B.3.v/s/B/A/
        !            68: or some such series.
        !            69: #log
        !            70: #next
        !            71: 52.1b 10

unix.superglobalmegacorp.com

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