[Openmcl-devel] Running ccl as a shebang script
pirata at gmail.com
Thu Feb 16 08:15:24 PST 2017
> I want to be able to use ccl as a shell scripting language without having
to jump through any cringe-inducing hoops. That means I want my script
ideally to look like this:
> #!/bin/env ccl
cl-launch allows one to do and it is easy to install,
On Thu, Feb 16, 2017 at 11:07 AM, Jānis Džeriņš <lisp at jonis.lv> wrote:
> Ron Garret <ron at flownet.com> writes:
> > #!/bin/env python
> > python-code
> > Can Lisp do that?” I want the answer to be an unqualified, “yes.”
> But then again with Lisp (and buildapp -- thanks Zach!) one can create a
> binary, and then do this:
> $ setcap cap_net_bind_service=+ep lisp-binary
> I.e., lisp-binary now can create raw sockets, same applies to suid
> bit. This is not possible with scripts that rely on shebang line.
> My point is -- now that your Python enthusiast asks you the "Can Lisp do
> that?" question, you ask them if Python can do this.
> I also think «":" ; hacks» are an acceptable response to the "Can Lisp do
> that?" question (shebang lines are a hack, anyway).
> My $0.02,
> Jānis Džeriņš
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
"I object to doing things that computers can do." — Olin Shivers
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel