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

I disagree. I have seen developpers trying to write posix conformant scripts but only testing on bash on redhat. When deploying on ubuntu, /bin/sh was dash and the script did not work. I think people shall use #!/bin/bash until their script has been really tested using dash or busybox. If they do not want to do this additional test work, they should never use #!/bin/sh



It's really not that difficult to avoid bashisms if you get yourself into the habit now, rather than later.




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

Search: