env bug ?

Henry Spencer henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org
Tue Mar 8 16:38:00 UTC 2005


On Tue, 8 Mar 2005, Lennart Sorensen wrote:
> > I wouldn't go that far... quite.  I would say that the kernel is handling
> > an out-of-spec situation rather ungracefully.  It isn't actually wrong but
> > really ought to do better.
> 
> It works on my kernel, so I suspect the system in question simply
> doens't have a real program called echo in the path.

Nope.  I duplicated the problem on a system which quite definitely does
have /bin/echo.  "/usr/bin/env echo foo" works, but putting the same thing
in the #! line doesn't.

                                                          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