Hi Hudson, you can ./configure GNU APL with prefix=/usr and then recompile and install. /// Jürgen On 08/21/2018 03:34 AM, Hudson Flavio
Meneses Lacerda wrote:
Hi. Some of my scripts use `#!/usr/bin/apl --script` (from Debian), but now I am using SVN, so I should use `#!/usr/local/bin/apl --script`. So, I need to change the scripts, that may be incompatible with different environments…I have tried: #!/usr/bin/env apl #!apl --script #!/usr/bin/apl --script #!/usr/local/bin/apl --script So far, the best solution I could find (so that I do not need to change the files in the future) is this file header: ---------------------------------------------------- #! true ← ~false ← 0 ⍝; exec apl --script "$0" "$@" ---------------------------------------------------- Are there any better solutions? Thanks, Hudson |
- [Bug-apl] #!apl Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] #!apl Juergen Sauermann
- Re: [Bug-apl] #!apl Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] #!apl Juergen Sauermann
- Re: [Bug-apl] #!apl Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] #!apl Juergen Sauermann
- Re: [Bug-apl] #!ap... Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] ... Kacper Gutowski
- Re: [Bug-apl] ... Juergen Sauermann
- Re: [Bug-apl] #!ap... Hudson Flavio Meneses Lacerda
- Re: [Bug-apl] ... Juergen Sauermann
- Re: [Bug-apl] #!apl enztec