Re:First steps with Scala, say goodbye to bash scripts…
by ww520 on Thursday January 12, 2012 @01:41AM
(#3455303)
I don't get how the bash scripts are not used. It's still used at
[ Parent
| on HN ]
Re:First steps with Scala, say goodbye to bash scripts…
by switch007 on Thursday January 12, 2012 @02:30AM
(#3455403)
/bin/sh is probably a symlink to something other than bash though. It's not using any features/functions of the shell other than to execute scala. It's a stretch calling that a script.
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
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.