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

1.1     ! root        1: #print
        !             2: The next trick is to substitute a "\" into a line.
        !             3: The same idea holds: simply double the backslash,
        !             4: but this time on the right side of the "s" command.
        !             5: 
        !             6: In the file "prog.c", convert every
        !             7:    'n'
        !             8: into
        !             9:    "\n"
        !            10: Re-write the file, and type "ready".
        !            11: #create Ref
        !            12:   x = "\n";
        !            13:   y = 'nop';
        !            14:   z = 'lmn';
        !            15:   q = "n";
        !            16:   r = "\n"+1;
        !            17:   s = "\n" - "\n";
        !            18: #create prog.c
        !            19:   x = 'n';
        !            20:   y = 'nop';
        !            21:   z = 'lmn';
        !            22:   q = "n";
        !            23:   r = 'n'+1;
        !            24:   s = 'n' - 'n';
        !            25: #user
        !            26: #cmp Ref prog.c
        !            27: #log
        !            28: #next
        !            29: 44.1i 10

unix.superglobalmegacorp.com

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