Re:First steps with Scala, say goodbye to bash scripts…
by alexatkeplar on Thursday January 12, 2012 @03:56AM
(#3455598)
That's a one-line Bash wrapper to invoke Scala (line 2) with the original arguments sent to the Scala script, compiling the Scala code which follows below. You can read more at the bottom of the man page here: http://www.scala-lang.org/docu/files/tools/scala.html
[ Parent
| on HN ]
Re:First steps with Scala, say goodbye to bash scripts…
by slashclee on Thursday January 12, 2012 @04:22AM
(#3455644)
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.