Re: coredump without '+' final argument

2023-08-05 Thread Jason Vas Dias
Anyway , cut a long story short, this is the fixed script, thanks to help from Alexander & Mike - sorry for misdirecting some reply emails to the list . Primarily, an un-quoted symbol should have been quoted, and a '(list ...)' should have been a '(cons ...)' . These are the sort of problems I'd

Re: coredump without '+' final argument

2023-08-05 Thread Jason Vas Dias
Much better (final) version. L_RT.l Description: Binary data

best Shebang line for executable scripts

2023-08-05 Thread Jason Vas Dias
Wow ! I've just figured out the best execve(2) Shebang line for pil scripts: $ cat myscript.l #!/usr/bin/pil -script (car (nth (argv) 1)) (nth (argv) 2) (let (ars (car (rest))) (prinl (car (nth (file) 2)) " ARGS: " (sym ars)) ) (bye) $ chmod +x myscript.l $ ./myscript.l myscript.l A