mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-13 23:20:49 +02:00
commit bash-4.0-rc1 snapshot
This commit is contained in:
+5
-6
@@ -1614,12 +1614,11 @@ introduce indirection.
|
||||
In each of the cases below, @var{word} is subject to tilde expansion,
|
||||
parameter expansion, command substitution, and arithmetic expansion.
|
||||
|
||||
When not performing substring expansion, using the form described
|
||||
below, Bash tests for a parameter that is unset or null.
|
||||
Omitting the colon results in a test only for a parameter that is unset.
|
||||
Put another way, if the colon is included,
|
||||
the operator tests for both @var{parameter}'s existence and that its value
|
||||
is not null; if the colon is omitted, the operator tests only for existence.
|
||||
When not performing substring expansion, Bash tests for a parameter
|
||||
that is unset or null; omitting the colon results in a test only for a
|
||||
parameter that is unset. Put another way, if the colon is included,
|
||||
the operator tests for both existence and that the value is not null;
|
||||
if the colon is omitted, the operator tests only for existence.
|
||||
|
||||
@table @code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user