Hi,

I was reading the bash manual at:

"If the program is a file beginning with #!, the remainder of the first line
specifies an interpreter for the pro‐
gram. The shell executes the specified interpreter on operating systems that
do not handle this executable format
themselves.|

I need to specify a variable path after #! but seems to me that bash can't
do this.
For example I need to specify the $HOME or ~ path as in:


#!~/bin/python
or
#!$HOME/bin/python

instead of

#!/home/myname/bin/python


is there away to do this thing?

thanks for any help.
j




--
View this message in context: 
http://gnu-bash.2382.n7.nabble.com/path-tp13212.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.

Reply via email to