On Fri, Jun 8, 2012 at 11:51 AM, Raphael B. <[email protected]> wrote:

> The hashbang/shebang line is read by the current shell to know which
> interpreter should be run to execute the script, and the interpreter
> actually running the script ignores this line, because it is indeed a
> comment for him!

It's not the current shell but one of the system calls exec* which is
invoked in the child after fork().  See section "Interpreter scripts"
at http://linux.die.net/man/2/execve

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to