Re: linux exu she-bang
- Posted by Bernie Ryan <xotron at bluefrog.com> Dec 03, 2005
- 565 views
Bernie Ryan wrote: > > > Why can't you use the following she-bang in a Euphoria program ? > > #!$EUDIR/bin/exu > > Why do you have to use the full path instead of taking advantage > of the enviorment variables. > If this could be done then a program would run on any system that > has the proper EUDIR settings. > What I have discovered may interest the rest of the users. If a user places the follow she-bang in a program as long as exu is somewhere in the path your program will execute. #!/usr/bin/env exu Note: The '/usr/bin/env' part is NOT the path of exu but is running a program called env which will find the path for exu. Bernie My files in archive: w32engin.ew mixedlib.e eu_engin.e win32eru.exw Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan