Jump to content

Multiline shebang: Difference between revisions

Added Chicken Scheme
(Added R)
(Added Chicken Scheme)
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.
 
=={{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}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.