env bug ?

Henry Spencer henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org
Tue Mar 8 21:39:39 UTC 2005


On Tue, 8 Mar 2005, William Park wrote:
> I'm getting same result for all shells (Bash, Ksh, Zsh, Ash) on my
> system.  Who's responsible for interpreting #! line?  Kernel or shell?

It's the kernel's doing.

(Although a really clever shell/interpreter might inspect the #! line --
since it *is* part of the input -- and adjust its internal idea of its
arguments before proceeding.)

                                                          Henry Spencer
                                                       henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list