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

That should be #!/usr/bin/env bash, particularly for BSD which does not install bash in /bin. Nothing new about absolute executable paths being non-portable, #!/bin/bash is as bad as #!/usr/bin/python.



I'm not saying you should use that. It's just that "#!/bin/bash" shows 18 million results on Google while "#!/usr/bin/env bash" shows only 121,000.




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

Search: