6 ms·
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
by alexatkeplar 15y ago
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 http://www.scala-lang.org/docu/files/tools/scala.html
- slashclee 15y agoI 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.