Created
September 27, 2017 10:14
-
-
Save agounaris/515339c741a1b6a35a616a48f5336820 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aa=true | |
bb=false | |
cc="python" | |
if [[ "$aa" ]]; then echo "Test0" ; fi | |
if [[ "$bb" ]]; then echo "Test0.1" ; fi | |
if [[ !"$aa" ]]; then echo "Test0.2" ; fi | |
if [[ ! "$aa" ]]; then echo "Test0.3" ; fi | |
if [[ "$aa" && ! "$bb" ]]; then echo "Test1" ; fi | |
if [[ "$aa" && ! "$aa" ]]; then echo "Test2" ; fi | |
if [[ "$aa" ]] && ! [[ "$bb" ]]; then echo "test3" ; fi | |
if [[ "$aa" ]] && ! [[ "$cc" ]]; then echo "test4" ; fi | |
if [[ $aa && ! $bb ]]; then echo "Test5" ; fi | |
if [[ $aa && ! $aa ]]; then echo "Test6" ; fi | |
if [[ $aa ]] && ! [[ $bb ]]; then echo "test7" ; fi | |
if [[ $aa ]] && ! [[ $cc ]]; then echo "test8" ; fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment