a="Dev-0-1"echo $aecho aif [[ $a == D* ]]then echo 'if success'fitest [[ $a == D* ]] || echo 'test fail'
Standard input is empty
Dev-0-1 a if success test fail
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!