Guest User

Untitled

a guest
Apr 22nd, 2014
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bash-4.3$ foo='one two'
  2.  
  3. bash-4.3$ bar='one two'
  4.  
  5. bash-4.3$ [[ $foo = $bar ]] && echo EQ
  6. EQ
  7.  
  8. bash-4.3$ [ $foo = $bar ] && echo EQ
  9. bash: [: too many arguments
  10.  
  11. bash-4.3$ [ "$foo" = "$bar" ] && echo EQ
  12. EQ
RAW Paste Data