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

>This second method is, by the way, argued to increase compatibility as we utilize env to locate bash, which may not be located at /bin/bash. How true this is, is a topic I dare not enter.

At least it seems important on NixOS, I had to rewrite a few shebangs on some scripts that used /bin/bash and didn't work on NixOS.



And on macOS if you need bash > 3.2




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

Search: