Bill Allombert on Sun, 26 Dec 2021 00:39:27 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: shebang line, gives syntax error


On Sat, Dec 25, 2021 at 05:54:40PM +0100, Ruud H.G. van Tol wrote:
> 
> I have put a shebang-line
> in the very first line of
> a .gp file, like:
> 
> #!/usr/local/bin/gp
> 
> When I let that file run itself,
> it mentions:
> 
> parisize = 8000000, primelimit = 500000, nbthreads = 8
>   ***   syntax error, unexpected '/': #!/usr/local/bin/gp
>   ***                                   ^-----------------
> ... skipping file '<redacted>.gp'

Do you have some example scripts where that would be useful ?
It seems GP is missing a bit too much functionality for that
kind of use.

Cheers,
Bill