Lines Matching refs:Or
3 # Demonstrates that in conditions, the right-hand side of an && or ||
7 # distinguishes between the operators 'And', 'And Then', 'Or', 'Or Else'.
9 # Before 2020-06-28, the right-hand side of an && or || operator was always
107 .if 1 || ${echo "unexpected or" 1>&2 :L:sh}
110 .if 0 || ${echo "expected or" 1>&2 :L:sh}
113 .if 1 || exists(nonexistent${echo "unexpected or exists" 1>&2 :L:sh})
116 .if 0 || exists(nonexistent${echo "expected or exists" 1>&2 :L:sh})
119 .if 1 || empty(${echo "unexpected or empty" 1>&2 :L:sh})
122 .if 0 || empty(${echo "expected or empty" 1>&2 :L:sh})
135 .elif ${echo "unexpected nested or" 1>&2 :L:sh}
149 # triggered a warning: "String comparison operator should be either == or !=".
208 # matches or equality comparisons worked fine and never produced error