summaryrefslogtreecommitdiffstats
path: root/regress/roff/nr/argc.in
blob: 4fa6b58072964ae0239ca1e5fca4aadecd9aae2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.\" $OpenBSD: argc.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $
.Dd $Mdocdate$
.Dt NR-ARGC 1
.Os
.Sh NAME
.Nm nr-argc
.Nd varying number of arguments to the .nr macro
.Sh DESCRIPTION
.nr onearg
one argument: \n[onearg]
.Pp
.nr twoargs 2
two arguments: \n[twoargs]
.Pp
.nr withsuffix 2x
with suffix: \n[withsuffix]
.Pp
.nr threeargs 2 3
three arguments: \n[threeargs]
.Pp
.nr fourargs 2 3 4
four arguments: \n[fourargs]