Annotation of 42BSD/usr.lib/learn/editor/L15.2a, revision 1.1

1.1     ! root        1: #print
        !             2: So far you have learned how to
        !             3: copy and print existing files, and now
        !             4: you probably want to know how to add new text
        !             5: to a file.  The "a" (append) command lets
        !             6: you do that.  For example, the sequence
        !             7:   ex file
        !             8:   a
        !             9:   A man, a plan, a canal - Panama.
        !            10:   .
        !            11:   wq
        !            12: will append the line
        !            13:   A man, a plan, a canal - Panama.
        !            14: to the editor buffer, and write it on file "file".
        !            15: (If "file" didn't exist already, the editor will
        !            16: warn you.  It's not an error, just a warning.)
        !            17: Try that.  Then say "cat file" to check what was written,
        !            18: and then type "ready".
        !            19: #create Ref
        !            20: A man, a plan, a canal - Panama.
        !            21: #user
        !            22: #cmp file Ref
        !            23: #log
        !            24: #next
        !            25: 15.2b 5
        !            26: 15.3b 2

unix.superglobalmegacorp.com

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