I don't get how the bash scripts are not used. It's still used at
#!/bin/sh
exec scala "$0" "$@" #!/bin/sh
exec scala "$0" "$@"#!/usr/bin/env scala
as the first line instead. If there's some hack to support #!/bin/sh in the scala interpreter... ew.
sas@ubuntu:~/devel/apps/playdoces/documentation/1.2.4/manual/tmp$ ./status.scala error: script file does not close its header with !# or ::!# one error found
#!/usr/bin/env scala
!#
it appears to work.