Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: shebang question



Hi Helmut,

2015-02-09 17:30 GMT+01:00 Helmut Jarausch <jarausch@xxxxxxxxxxxxxxxxxxx>:
> recently, I've come across a (Lisp) script starting with
>
> #|
> exec sbcl --noinform --load $0 --quit --end-toplevel-options "$@"
> |#
>
> ;; .... Lisp script goes here
>
> Would anybody please show me  some documentation where this form
> of 'shebang' is explained?

That's precisely *not* a shebang, so that the default shell (sh) is
used as a fallback.

This is described at http://www.cliki.net/SBCL (“Scripts” section).

Best regards,

-- 
Jérémie



Messages sorted by: Reverse Date, Date, Thread, Author