summaryrefslogblamecommitdiffstats
path: root/regress/mdoc/Sm/scope.in
blob: 19700daf3505025a01dcbdfacef8a38975e2cd95 (plain) (tree)
1
2
3
4

                                                               
              
   


























                                     
.\" $OpenBSD: scope.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $
.Dd $Mdocdate$
.Dt SM-SCOPE 1
.Os
.Sh NAME
.Nm Sm-scope
.Nd scope of the spacing macro
.Sh DESCRIPTION
Using an abbreviated example from the
.Xr ksh 1
manual.
.Pp
Modifiers can be applied to the
.Pf ${ Ns Ar name Ns }
form of parameter substitution:
.Bl -tag -width Ds
.Sm off
.It ${ Ar name No :- Ar word No }
.Sm on
If
.Ar name
is set and not
.Dv NULL ,
it is substituted; otherwise,
.Ar word
is substituted.
.El
.Pp
In the above modifiers, the
.Ql \&:
can be omitted, ...