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

Re: /usr/bin/env

This page is part of the web mail archives of SRFI 22 from before July 7th, 2015. The new archives for SRFI 22 contain all messages, not just those from before July 7th, 2015.



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:

 /usr/bin/env
     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)