3
0

andor1.tests 172 B

1234567
  1. e=''
  2. [[ a && b ]] && echo 1:YES
  3. [[ a && '' ]] || echo 2:no
  4. [[ a || b ]] && echo 3:YES
  5. [[ '' || b ]] && echo 4:YES
  6. [[ "" || "$e" ]] || echo 5:no
  7. [[ "" || $e ]] || echo 6:no