Re: a "script-relative" version of env

2011-05-27 Thread Bob Proulx
E R wrote: > - I've noticed that the argument passed to the she-bang interpreter > always seems to be an absolute path when commands are executed from a > shell. Are there cases where that will not be true? You might find reading Sven Mascheck's documentation interesting: http://www.in-ulm.de/

a "script-relative" version of env

2011-05-27 Thread E R
Hi all, This is not a bash bug, but I am hoping the people on this list would find the question interesting... I have found it useful to have a "script-relative" version of /usr/bin/env. Whereas env determines an interpreter's location based on PATH, this version would determine the interpreter's