Shell one-liner: Difference between revisions

imported>Tromp
 
(3 intermediate revisions by 3 users not shown)
Line 125:
{{out}}
<pre>Hello 123</pre>
 
=={{header|Binary Lambda Calculus}}==
Several such one liners are shown on https://www.ioccc.org/2012/tromp/hint.html, such as
<syntaxhighlight lang="bash">echo "*Hello, world" | ./tromp</syntaxhighlight>
<syntaxhighlight lang="bash">echo "00010001100110010100011010000000010110000010010001010111110111101001000110100001110011010000000000101101110011100111111101111000000001111100110111000000101100000110110" | ./tromp -b | head -c 70</syntaxhighlight>
 
=={{header|Bracmat}}==
Line 397 ⟶ 402:
 
<syntaxhighlight lang="unicon">echo "procedure main();write(\"hello world\");end" >hello.icn; unicon hello.icn -x</syntaxhighlight>
 
=={{Header|Insitux}}==
 
When Insitux has been already been installed system-wide (<code>npm i -g insitux</code>).
 
<pre>
$ npx ix -e "(+ 2 2)"
</pre>
 
{{out}}
 
<pre>
4
</pre>
 
=={{header|J}}==
Line 459 ⟶ 478:
 
=={{header|Lang}}==
This is an example for the Standard Lang implementation of langLang.
<syntaxhighlight lang="lang">
$ lang -e "fn.println(Hello World)"
Anonymous user