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

Not all sh syntax is valid bash — in bash [[ is reserved but not in sh. And if you want syntax that is valid but doesn’t do the same thing in sh vs bash there’s plenty of examples.


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

Search: