Hacker News new | past | comments | ask | show | jobs | submit login

I'm always amazed at how many Unix features I assume are GNUisms or bashisms that turn out to be in POSIX and be much more portable than I've expected!



I'm always amazed at how scripts intented to use only POSIX features become buggy when dash is used instead of bash.


Yeah, for anything that I want to be portable, I explicitly run it with bash, dash, mksh, and heirloom sh. I figure that if it works in all of those, then the result is either truly portable... or nobody will ever notice:)

It also should really help that Debian, IIRC, actually sets /bin/sh to dash by default?




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

Search: