Multiline shebang: Difference between revisions

Content added Content deleted
(Added Emacs Lisp)
No edit summary
Line 23: Line 23:
=={{header|Emacs Lisp}}==
=={{header|Emacs Lisp}}==
<lang lisp>:;exec emacs -batch -l $0 -f main $*</lang>
<lang lisp>:;exec emacs -batch -l $0 -f main $*</lang>

=={{header|Erlang}}==
Note that the binary is escript, not erl. The latter refuses to compile or run code that contains a shebang.

<lang erlang>#!/usr/bin/env escript</lang>