]> git.cameronkatri.com Git - mandoc.git/blob - regress/mdoc/Sm/scope.in
Finally port the OpenBSD regression suite.
[mandoc.git] / regress / mdoc / Sm / scope.in
1 .Dd January 2, 2010
2 .Dt SM-SCOPE 1
3 .Os OpenBSD
4 .Sh NAME
5 .Nm Sm-scope
6 .Nd scope of the spacing macro
7 .Sh DESCRIPTION
8 Using an abbreviated example from the
9 .Xr ksh 1
10 manual.
11 .Pp
12 Modifiers can be applied to the
13 .Pf ${ Ns Ar name Ns }
14 form of parameter substitution:
15 .Bl -tag -width Ds
16 .Sm off
17 .It ${ Ar name No :- Ar word No }
18 .Sm on
19 If
20 .Ar name
21 is set and not
22 .Dv NULL ,
23 it is substituted; otherwise,
24 .Ar word
25 is substituted.
26 .El
27 .Pp
28 In the above modifiers, the
29 .Ql \&:
30 can be omitted, ...