Thanks for your learned analysis.
1. I kind of like the way zsh handles it.
2. In any case, I'll use #!/usr/bin/env
http://Yost.com/computers/compileAndGo
3. I'll change my pages to reflect the change by around noon 15:00 UTC+8.
Thanks again.
Dave
___
Dave Yost wrote:
> In other words, a program starting with
>
> #!/usr/local/bin/compileAndGo
>
> should invoke /usr/local/bin/compileAndGo, and compileAndGo is a
> program starting with
>
> #!/bin/bash
That is not a portable combination. The #! needs to be a machine
executable and not a s
[added a diagnosis near the end.]
Please see
http://Yost.com/computers/compileAndGo
That page describes a #!/bin/bash script called compileAndGo, which
is used as the program for a #! script.
In other words, a program starting with
#!/usr/local/bin/compileAndGo
should invoke /usr/local/bi
Please see
http://Yost.com/computers/compileAndGo
That page describes a #!/bin/bash script called compileAndGo, which
is used as the program for a #! script.
In other words, a program starting with
#!/usr/local/bin/compileAndGo
should invoke /usr/local/bin/compileAndGo, and compileAndGo is