blob: e0d7f71b742b040244c72628cef369086d2ea1af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
SM-SCOPE(1) General Commands Manual SM-SCOPE(1)
NNAAMMEE
SSmm--ssccooppee - scope of the spacing macro
DDEESSCCRRIIPPTTIIOONN
Using an abbreviated example from the ksh(1) manual.
Modifiers can be applied to the ${_n_a_m_e} form of parameter substitution:
${_n_a_m_e:-_w_o_r_d}
If _n_a_m_e is set and not NULL, it is substituted; otherwise, _w_o_r_d
is substituted.
In the above modifiers, the `:' can be omitted, ...
OpenBSD July 4, 2017 OpenBSD
|