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

In a sibling thread someone pointed out that #!bash doesn't actually work if you're calling it from bash, and appears to only work with zsh.

I just tried it and they were absolutely right, so `#!/usr/bin/env bash` is definitely more portable in that it consistently works.



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

Search: