#!/usr/bin/env

Tom Metro blu at vl.com
Mon Jan 30 13:05:04 EST 2006


Ed Hill wrote:
> ...its a good idea to develop the
> habit of using "#!/usr/bin/env INTERPRETER_NAME" since 1) its maximally
> portable and 2) it allows for easy run-time selection of different
> installed versions.

I hadn't heard of that. Can you elaborate on how it accomplishes 1 and 
2? Is it through magic built-in to exec(), because I don't see anything 
in the env(1) man page to suggests the enhancements you list.

  -Tom

-- 
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/



More information about the Discuss mailing list