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

>#!/usr/bin/env $binname vs. hardcoding #!/path/to/binname

All of these "solutions" fail somewhere because some system does it differently. Why can't one just use #!bash or #!python and have the system just look on the path for it?



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: