4 ms·
Very interesting and a good read. I was not aware that you could pass an argument in the shebang line.
by jmiserez 10y ago
Very interesting and a good read. I was not aware that you could pass an argument in the shebang line.
- hk__2 10y agoIt’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.