On Fri, Sep 05, 2014 at 08:09:40AM -0400, The Wanderer wrote: > What exactly is the limit on the length of a shebang line in an > executable script, when called from within bash?
Shebangs are handled by the kernel, not by bash. For more details, Sven Mascheck's page is the best out there: http://www.in-ulm.de/~mascheck/various/shebang/ So, the answer depends on your operating system.