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

Annotation of mandoc/regress/roff/cond/register.in, Revision 1.4

1.4     ! schwarze    1: .\" $OpenBSD: register.in,v 1.4 2022/06/03 11:50:25 schwarze Exp $
        !             2: .TH REGISTER 1 "June 3, 2022"
1.1       schwarze    3: .SH NAME
                      4: register \- conditional testing whether a register is defined
                      5: .SH DESCRIPTION
                      6: .ie rmyreg OOPS
                      7: .el not yet defined
                      8: .br
                      9: .nr myreg 0
                     10: .ie rmyreg now defined
                     11: .el OOPS
                     12: .if !rmyreg OOPS
1.3       schwarze   13: .PP
1.4     ! schwarze   14: tab after identifier:
1.3       schwarze   15: .ie rmyreg     myreg is defined
                     16: .el OOPS
                     17: .PP
                     18: escape sequence after identifier:
                     19: .ie rmyreg\(enmyreg is defined
                     20: .el OOPS
1.4     ! schwarze   21: .PP
        !            22: backslash in name:
        !            23: .nr \\ 0
        !            24: .ie r\\ \e is defined
        !            25: .el OOPS
        !            26: .rr \\
        !            27: .if r\\ is still defined!?
        !            28: .PP
        !            29: dot in name:
        !            30: .nr . 0
        !            31: .ie r. \&. is defined
        !            32: .el OOPS
        !            33: .ie r\. \e. is defined
        !            34: .el OOPS
        !            35: .rr \.
        !            36: .if r. is still defined!?
        !            37: .PP
        !            38: invalid escape in name:
        !            39: .nr G 0
        !            40: .ie rG G is defined
        !            41: .el OOPS
        !            42: .ie r\G \eG is defined
        !            43: .el OOPS
        !            44: .rr \G
        !            45: .if rG is still defined!?

CVSweb