I wonder why they don't use
#!/usr/bin/env scala
as the first line instead. If there's some hack to support #!/bin/sh in the scala interpreter... ew.
#!/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.