Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The primary differences are:

* word splitting and pathname expansion don't happen in [[...]];

* "==" does pattern matching in [[...]], but it does string comparison in [...].



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: