Anonymous user
Shell one-liner: Difference between revisions
Added Scala
(add JavaScript) |
(Added Scala) |
||
Line 129:
<pre>$ ruby -e 'puts "Hello"'
Hello</pre>
=={{header|Scala}}==
<pre>C:\>scala -e "println(\"Hello\")"
Hello</pre>
The escaping of quotes is required by Windows. On Unix, one could
just use single quotes around the code. In either case, any required
libraries should have their JAR files pointed at by the environment
variable CLASSPATH.
=={{header|Slate}}==
|