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

More like POSIX shell fu - the example doesn't actually use any Bash-specific features.


Seeing #!/bin/bash is one of my pet peeves.

If it's a straight shell script, use "#!/bin/sh" please. If the script actually requires bash features, I'd appreciate "#!/usr/bin/env bash" because if I choose to install bash, it probably won't be in /bin.




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

Search: