bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spaces in the shebang interpreter path


From: Stephane Chazelas
Subject: Re: spaces in the shebang interpreter path
Date: Sun, 11 May 2008 20:50:32 +0100
User-agent: Mutt/1.5.16 (2007-09-19)

On Sun, May 11, 2008 at 12:37:12PM -0600, Bob Proulx wrote:
> Felix Schwarz wrote:
> >         I'm not able to specify an interpreter in a shebang line if the path
> >         to this interpreter contains spaces.
> 
> That is correct.  It is part of the implementation of the Berkeley #!
> exec(2) hack and as such is now simply the way things are and have
> been for many years.
> 
> Here is a now somewhat dated explanation of this from decades ago:
> 
>   http://www.faqs.org/faqs/unix-faq/faq/part3/section-16.html
[...]

A lot has been said including one thing and its contrary about
the she-bang and its history. Sven Mascheck has done a lot of
research on the subject and made the results available here:

http://www.in-ulm.de/~mascheck/various/shebang/

Among very interesting things, he says that that section of the
Unix FAQ is not totally correct.

-- 
St├ęphane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]