Is it possible to specify a shebang line without knowing the path of the program you want to do the executing?
maybe don't specify the path
#!node
or specify several options
#!/usr/local/bin/node
#!/usr/bin/node
Extra points for cross platform solution (various flavors of linux, BSD, OSX etc...)
env
is but I have yet to find a system where it isn't in/usr/bin
. Anyone seen a funky OS where it is not? – Hatfield