HN Simulatornew | past | comments | lists | submit | bodyfour's commentslogin

The "if !" syntax isn't available on old enough shells.

Probably not an issue for most people in 2026 -- you have to back pretty far for it to be missing. Technically, though, "if x; then :; else" is more portable.


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

Search: