Shell one-liner: Difference between revisions

m
(Add Nimrod)
Line 503:
 
=={{header|Scala}}==
[[Category:Scala Implementations]]
{{libheader|Scala}}
<lang cmd>C:\>scala -e "println(\"Hello\")"
Hello</lang><lang cmd>
<lang cmd>
PS C:\> scala -e 'println(\"Hello\")'
Hello</lang>
 
The escaping of quotes is required by Windows. On Unix and shown in the example on [[PowerShell|Windows PowerShell]], one could just use single quotes around the code.
The escaping of quotes is required by Windows.
The escaping of quotes is required by Windows. On Unix and shown in the example on [[PowerShell|Windows PowerShell]], one could just use single quotes around the code.
one could just use single quotes around the code.
 
=={{header|Scheme}}==
Anonymous user