Multiline shebang: Difference between revisions

Content added Content deleted
(Added Common Lisp)
 
(clarification)
Line 3: Line 3:


Occasionally, a more complex shebang line is needed. For example, some languages do not include the program name in ARGV; a multiline shebang can reorder the arguments so that the program name is included in ARGV.
Occasionally, a more complex shebang line is needed. For example, some languages do not include the program name in ARGV; a multiline shebang can reorder the arguments so that the program name is included in ARGV.

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.


=={{Common Lisp}}==
=={{Common Lisp}}==