Re: linux exu she-bang

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu