2
0
Fork 0
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:
Kaveet Laxmidas 2017-04-08 12:23:22 -05:00 committed by Adnan Ahmed
parent e0731233e0
commit 3a7c7fc13e

View file

@ -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