aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/while/nesting.in
blob: 930b8b7ac75903dcfcbad55c77cdc3814901e571 (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: August 24 2018 $
.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