fork(2) download
  1. a="Dev-0-1"
  2. echo $a
  3. echo a
  4. if [[ $a == D* ]]
  5. then
  6. echo 'if success'
  7. fi
  8. test [[ $a == D* ]] || echo 'test fail'
  9.  
Success #stdin #stdout 0.03s 5272KB
stdin
Standard input is empty
stdout
Dev-0-1
a
if success
test fail