summaryrefslogtreecommitdiffstats
path: root/regress/roff/while/nesting.in
blob: c91e819858dee93371cb69cbf1886619e9861976 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.\" $OpenBSD: nesting.in,v 1.1 2018/08/24 22:56:37 schwarze Exp $
.Dd $Mdocdate$
.Dt WHILE-NESTING 1
.Os
.Sh NAME
.Nm while-nesting
.Nd nested while requests
.Sh DESCRIPTION
initial text
.nr c1 3
.while \n(c1 \{\
.  nr c2 3
.  while \n(c2 \{\
.    nop \n(c1\n(c2
.    nr c2 -1
.  \}
.  nr c1 -1
.\}
final text