[BACK]Return to scope.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Sm

Annotation of mandoc/regress/mdoc/Sm/scope.in, Revision 1.2

1.2     ! schwarze    1: .\" $OpenBSD: scope.in,v 1.4 2017/07/04 14:53:26 schwarze Exp $
        !             2: .Dd $Mdocdate: July 4 2017 $
1.1       schwarze    3: .Dt SM-SCOPE 1
1.2     ! schwarze    4: .Os
1.1       schwarze    5: .Sh NAME
                      6: .Nm Sm-scope
                      7: .Nd scope of the spacing macro
                      8: .Sh DESCRIPTION
                      9: Using an abbreviated example from the
                     10: .Xr ksh 1
                     11: manual.
                     12: .Pp
                     13: Modifiers can be applied to the
                     14: .Pf ${ Ns Ar name Ns }
                     15: form of parameter substitution:
                     16: .Bl -tag -width Ds
                     17: .Sm off
                     18: .It ${ Ar name No :- Ar word No }
                     19: .Sm on
                     20: If
                     21: .Ar name
                     22: is set and not
                     23: .Dv NULL ,
                     24: it is substituted; otherwise,
                     25: .Ar word
                     26: is substituted.
                     27: .El
                     28: .Pp
                     29: In the above modifiers, the
                     30: .Ql \&:
                     31: can be omitted, ...

CVSweb