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

Re: /usr/bin/env

Marc Feeley <feeley@xxxxxxxxxxxxxxxx> writes:
>    #! /usr/bin/env script-interpreter

> Anybody have experience, or comments about this?  Is /usr/bin/env
> "standard" or POSIX?

from the Solaris 2.6 man page:

     If env executes commands with arguments, it uses the default
     shell /usr/bin/sh (see sh(1)).

So arguably more graceful looking than the traditional shell
trampoline, but effectively the same thing...

david rush
There's man all over for you, blaming on his boots the faults of his feet.
	-- Samuel Becket (Waiting For Godot)