Annotation of 43BSD/usr.lib/learn/editor/L44.1e, revision 1.1

1.1     ! root        1: #print
        !             2: As you've probably noticed, the backslash character "\"
        !             3: is rather special to the editor (and to other programs
        !             4: as well).  So what do you do when you have to somehow
        !             5: get a backslash into some text, or to edit it in
        !             6: or out?
        !             7: 
        !             8: Getting it in in the first place is quite easy: when
        !             9: you are appending with "a" (or inserting with "i", or
        !            10: changing with "c", or reading with "r"), there's
        !            11: nothing special about "\" at all.  To verify this,
        !            12: add the line
        !            13: 
        !            14: Two backslashes \\ do not equal one forward slash.
        !            15: 
        !            16: to the file "junk", re-write it, then type "ready".
        !            17: #create Ref
        !            18: This is a file with a silly line in it.
        !            19: Two backslashes \\ do not equal one forward slash.
        !            20: #create junk
        !            21: This is a file with a silly line in it.
        !            22: #user
        !            23: #cmp Ref junk
        !            24: #log
        !            25: #next
        !            26: 44.1f 10

unix.superglobalmegacorp.com

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