| Ruud H.G. van Tol on Sat, 25 Dec 2021 17:54:50 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| shebang line, gives syntax error |
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' How to make gp ignore that shebang-line? - - - - - - - - - BTW, a (dirty) workaround is: $ ln -fs $(which gp) ~/run_gp and then use #!run_gp or even #!run_gp -q -- Greetings, Ruud