[BACK]Return to escape.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / string

Annotation of mandoc/regress/roff/string/escape.in, Revision 1.3

1.3     ! schwarze    1: .\" $OpenBSD: escape.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
        !             2: .TH STRING-ESCAPE 1 "December 3, 2010"
1.1       schwarze    3: .SH NAME
                      4: string-escape - preventing string interpolation
                      5: .SH DESCRIPTION
                      6: .ds right wrong
                      7: .ds inner *[right]
                      8: .ds outer \\*[inner]
                      9: .SS Normal interpolation
                     10: result: \*[inner]
                     11: .PP
                     12: The above line must be "result: *[right]".
                     13: .SS Intervening character
                     14: result: \e*[right]
                     15: .PP
                     16: The above line must be "result: backslash*[right]",
                     17: not "result: rong".
                     18: .SS Escaped backslash
                     19: result: \\*[right]
                     20: .PP
                     21: The above line must be "result: backslash*[right]",
                     22: not "result: rong".
                     23: .SS Delayed interpolation
                     24: result: \*[outer]
                     25: .PP
                     26: The above line must be "result: *[right]",
                     27: not "result: wrong".

CVSweb