that is correct.
i wish there was a way to still use a simple one-line hashbang.
maybe it would be possible to recognise a backslash-escaped newline for continuing the arguments to the interpreter?

it does not seem like a commonly needed, or even necessary, feature to support multi-line arguments to interpreter directives in executable scripts with scsh block comments like this.

by the way, my first example with the !# on the same line does not work. the !# apparently has to be on the second line.


On 2017-08-21 07:04, Chaos Eternal wrote:
you can put more arguments in before !#
that is on-purpose.

On Sat, Aug 19, 2017 at 5:01 PM j kalbhenn <j...@posteo.eu> wrote:

scripts of other languages usually need just one line to specify the
interpreter:

#!/usr/bin/myinterpreter

but with guile we have to add a final !#

#!/usr/bin/guile !#

or even

#!/usr/bin/guile -s
!#

in my opinion, this is not ideal. from my perspective as a guile
user this seems to be unnecessarily inconsistent and complicated.

Reply via email to