xref: /openbsd-src/regress/usr.bin/mandoc/mdoc/Sm/scope.out_ascii (revision 898184e3e61f9129feb5978fad5a8c6865f00b92)
1SM-SCOPE(1)                OpenBSD Reference Manual                SM-SCOPE(1)
2
3NNAAMMEE
4     SSmm--ssccooppee - scope of the spacing macro
5
6DDEESSCCRRIIPPTTIIOONN
7     Using an abbreviated example from the ksh(1) manual.
8
9     Modifiers can be applied to the ${_n_a_m_e} form of parameter substitution:
10
11     ${_n_a_m_e:-_w_o_r_d}
12             If _n_a_m_e is set and not NULL, it is substituted; otherwise, _w_o_r_d
13             is substituted.
14
15     In the above modifiers, the `:' can be omitted, ...
16
17OpenBSD                         January 2, 2010                        OpenBSD
18