- 论坛徽章:
- 8
|
- [[ expression ]]
- Return a status of 0 or 1 depending on the evaluation of the
- conditional expression expression. Expressions are composed of
- the primaries described below under CONDITIONAL EXPRESSIONS.
- Word splitting and pathname expansion are not performed on the
- words between the [[ and ]]; tilde expansion, parameter and
- variable expansion, arithmetic expansion, command substitution,
- process substitution, and quote removal are performed. Condi-
- tional operators such as -f must be unquoted to be recognized
- as primaries.
复制代码 |
|