mirror of
https://github.com/Idnan/bash-guide.git
synced 2018-11-09 02:29:39 +01:00
Clarify description of OR operator (#35)
The current description of the OR operator ("one of the statements is true") implies that only one of the statements in the expression can be true, as in an XOR. Adding "at least" to clarify.
This commit is contained in:
parent
e0731233e0
commit
3a7c7fc13e
1 changed files with 1 additions and 1 deletions
|
@ -1010,7 +1010,7 @@ Expression Examples:
|
|||
|
||||
```bash
|
||||
statement1 && statement2 # both statements are true
|
||||
statement1 || statement2 # one of the statement is true
|
||||
statement1 || statement2 # at least one of the statements is true
|
||||
|
||||
str1=str2 # str1 matches str2
|
||||
str1!=str2 # str1 does not match str2
|
||||
|
|
Loading…
Reference in a new issue