News for hackers. Stuff that matters.
Re:Shebang Quine by philh on Friday May 20, 2016 @10:53AM (#11738254)
Ages ago I wrote a simple command that let you do shell scripting in the shebang line. http://reasonableapproximation.net/2010/07/27/silly-things-t...

I'm not sure I've used it since, but I still like the xgraph thing.

Re:Shebang Quine by jmiserez on Friday May 20, 2016 @01:27PM (#11739720)
Very interesting and a good read. I was not aware that you could pass an argument in the shebang line.
Re:Shebang Quine by hk__2 on Friday May 20, 2016 @04:05PM (#11741039)
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.
Re:Shebang Quine by kylek on Friday May 20, 2016 @03:54PM (#11740936)
This is pretty great little read, much appreciated