On 3/25/19 6:19 AM, Christophe Lyon wrote:
> Hi,
>
> I think I've noticed a bit of explanation missing in the documentation
> about parameter expansion.
>
> bash supports :+ and + expansion, but 'man bash' describes the former only.
> This is also true for the similar expansions (:-, :=, :?)
"When not performing substring expansion, using the forms documented
below (e.g., :-), bash tests for a parameter that is unset or null.
Omitting the colon results in a test only for a parameter that is
unset."
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/