HNHacker News
TopNewBestAskShowJobs

Jeff-Russ

1 karma · joined June 9, 2016

submissionscomments
Jeff-Russ··on FAST "shebang" for C
also note that this is not entirely portable since some systems can send args to /usr/bin/env gcc
Jeff-Russ··on FAST "shebang" for C
It's safer to do $BASH_SOURCE instead of $0 but I really can't think of a real-live scenario where it would matter here. Perhaps if you are chaining calls but I'm not even sure that would work without trying it.