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

Very interesting and a good read. I was not aware that you could pass an argument in the shebang line.


It’s often used to have your shell scripts fail fast by using `#! /usr/bin/bash -e`; which you could also do by using `set -e` at the beginning of the script but that’s less elegant.




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

Search: