Re: shebang length limits

2014-09-05 Thread Chet Ramey
On 9/5/14, 8:26 AM, The Wanderer wrote: > While that does address the question of what the actual length limit is, > it doesn't address the mismatch I saw in the error message which > occurred when the path was too long. Does that error, and the associated > mismatch, in fact originate from within

Re: shebang length limits

2014-09-05 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 09/05/2014 at 08:20 AM, Greg Wooledge wrote: > 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

Re: shebang length limits

2014-09-05 Thread Greg Wooledge
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://