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

Annotation of mandoc/regress/roff/while/basic.in, Revision 1.1

1.1     ! schwarze    1: .\" $OpenBSD: basic.in,v 1.1 2018/08/24 22:56:37 schwarze Exp $
        !             2: .Dd $Mdocdate: August 24 2018 $
        !             3: .Dt WHILE-BASIC 1
        !             4: .Os
        !             5: .Sh NAME
        !             6: .Nm while-basic
        !             7: .Nd the while request
        !             8: .Sh DESCRIPTION
        !             9: Loop with single-line scope:
        !            10: .nr cnt 11 1
        !            11: .de mym
        !            12: \\n-[cnt]
        !            13: ..
        !            14: .while \n[cnt] .mym
        !            15: .Pp
        !            16: Loop with multi-line scope, text line closure:
        !            17: .nr cnt 11
        !            18: .while \n[cnt] \{\
        !            19: .nr cnt -1
        !            20: \n[cnt]\},
        !            21: boom.
        !            22: .Pp
        !            23: Loop with multi-line scope, macro line closure:
        !            24: .nr cnt 11
        !            25: .while \n[cnt] \{\
        !            26: .nr cnt -1
        !            27: \n[cnt]
        !            28: .\}
        !            29: .Pp
        !            30: final text

CVSweb