Multiline shebang: Difference between revisions

Content added Content deleted
(Added R)
(Added Chicken Scheme)
Line 5: Line 5:


The syntax for a multiline shebang is complicated. You need to simultaneously comment the shebangs away from the language and reveal them uncommented to Bash so that the shebangs can be executed.
The syntax for a multiline shebang is complicated. You need to simultaneously comment the shebangs away from the language and reveal them uncommented to Bash so that the shebangs can be executed.

=={{header|Chicken Scheme}}==
The script name is passwed once to the Chicken Scheme Interpreter and once to be picked up in args.

<lang scheme>#!/bin/bash
#|
exec csi -ss $0 ${1+"$@"}
exit
|#</lang>


=={{header|Clojure}}==
=={{header|Clojure}}==