[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] #!apl
From: |
enztec |
Subject: |
Re: [Bug-apl] #!apl |
Date: |
Tue, 21 Aug 2018 07:01:48 -0600 |
Hi
I assume this Debian of which you speak is a linux distro of some sort?
Use a link from the svn installed location /usr/local/bin/apl location to the
location you have in your scripts /usr/bin/apl (from debian deb location)
ln -sf /usr/local/bin/apl /usr/bin/apl then you don't have to change
the scripts
On Mon, 20 Aug 2018 22:34:56 -0300
Hudson Flavio Meneses Lacerda <address@hidden> 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
>
>
>
>
>
- Re: [Bug-apl] #!apl, (continued)
- Re: [Bug-apl] #!apl, enztec, 2018/08/21
- Re: [Bug-apl] #!apl, Hudson Flavio Meneses Lacerda, 2018/08/21
- Re: [Bug-apl] #!apl, Juergen Sauermann, 2018/08/21
- Re: [Bug-apl] #!apl, Hudson Flavio Meneses Lacerda, 2018/08/21
- Re: [Bug-apl] #!apl, Juergen Sauermann, 2018/08/21
- Re: [Bug-apl] #!apl, Hudson Flavio Meneses Lacerda, 2018/08/21
- Re: [Bug-apl] #!apl, Kacper Gutowski, 2018/08/21
- Re: [Bug-apl] #!apl, Juergen Sauermann, 2018/08/22
- Message not available
- Re: [Bug-apl] #!apl, Hudson Flavio Meneses Lacerda, 2018/08/23
- Re: [Bug-apl] #!apl, Juergen Sauermann, 2018/08/24
Re: [Bug-apl] #!apl,
enztec <=