blob: 8a735d1c65b82b4d0a46f370e226f0f46c1f4c03 (
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 January 2, 2010 OpenBSD
|