bug-bash
[Top][All Lists]
Advanced

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

#!path


From: esoj
Subject: #!path
Date: Thu, 27 Mar 2014 08:19:39 -0700 (PDT)

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

[Prev in Thread] Current Thread [Next in Thread]