develooper Front page | perl.perl5.porters | Postings from January 2012

Re: Shebang line parsing mystery

Thread Previous | Thread Next
Nicholas Clark
January 18, 2012 07:10
Re: Shebang line parsing mystery
Message ID:
On Tue, Jan 17, 2012 at 03:34:07PM +0100, Rafael Garcia-Suarez wrote:
> On 17 January 2012 14:32, Andy Dougherty <> wrote:
> > On Tue, 17 Jan 2012, Andy Dougherty wrote:
> >
> >> On Mon, 16 Jan 2012, Rafael Garcia-Suarez wrote:
> >
> >> If I recall correctly, 'indir' was a program designed to indirectly
> >> execute other programs.  My recollection is that it was supposed to be
> >> particularly useful in setuid situations where the OS didn't natively
> >> provide you much help, and/or perhaps in situations where the OS kernel
> >> limited you to 32 character command lines.
> >
> > Ah, here it is:
> >
> >
> I am impressed ! Thanks for digging that out.

Thanks. That's useful to know.

> I'll push (later) a patch to remove the "indir" special-case.
> As for the decision of deprecating (or cutting off) the whole
> exec-what's-on-the-shebang functionality, I'll wait for informed
> advice.

Is there any way to work out who is using this?

I'm a bit stuck as to how to measure it. And really without any feeling for
whether it's useful to anyone, I find it hard to have an opinion about it.

The code is (effectively) stable. Is it getting in the way?

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About