Re:First steps with Scala, say goodbye to bash scripts…
by opensas on Friday January 13, 2012 @02:27AM
(#3459567)
I tried it, and got:
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
as the first line instead. If there's some hack to support #!/bin/sh in the scala interpreter... ew.