Shell one-liner: Difference between revisions

Updated to work with version 1.4: compiler command "i" no longer exists, so we write in a temporary file.
(Added Delphi example)
(Updated to work with version 1.4: compiler command "i" no longer exists, so we write in a temporary file.)
Line 475:
 
=={{header|Nim}}==
The following works on any Linux system. With some minor changes, it should work on other systems too.
<pre>$ echo 'for i in 0..10: echo "Hello World"[0..i]' |>/tmp/oneliner.nim; nim ir oneliner
>>> H
H
He
Hel
Line 486 ⟶ 487:
Hello Wor
Hello Worl
Hello World</pre>
>>> </pre>
 
=={{header|Objeck}}==
Anonymous user