Annotation of 43BSDTahoe/usr.lib/learn/editor/L44.1f, revision 1.1.1.1

1.1       root        1: #print
                      2: The next step is to learn how to edit a line
                      3: that contains a backslash.  On the left side of an "s"
                      4: command, you place a "\" before the "\" to turn off
                      5: its special meaning, just as for any other special
                      6: character like "*" or "[".  For example,
                      7: if you have the line
                      8:    c = '\n'
                      9: you can change it into
                     10:    c = 'n'
                     11: with the command
                     12:    s/\\n/n/
                     13: or
                     14:    s/\\//
                     15: (Your choice.)
                     16: 
                     17: Practice by removing all the backslashes from the
                     18: file "junk"; when you're done, re-write it and
                     19: type "ready".
                     20: #create Ref
                     21: Now is the time for all good
                     22: men to come to the aid of
                     23: their party, or something like that.
                     24: #create junk
                     25: Now is \the \tim\\e for all good
                     26: m\\en \to com\\e \to \the aid of
                     27: \their par\ty, or som\\e\thing like \tha\t.
                     28: #user
                     29: #cmp Ref junk
                     30: #log
                     31: #next
                     32: 44.1g 10

unix.superglobalmegacorp.com

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