Shell one-liner: Difference between revisions

Content added Content deleted
mNo edit summary
(Added 11l)
Line 6: Line 6:
Avoid depending on the particular shell or operating system used as much as is reasonable; if the language has notable implementations which have different command argument syntax, or the systems those implementations run on have different styles of shells, it would be good to show multiple examples.
Avoid depending on the particular shell or operating system used as much as is reasonable; if the language has notable implementations which have different command argument syntax, or the systems those implementations run on have different styles of shells, it would be good to show multiple examples.
<br><br>
<br><br>

=={{header|11l}}==
{{trans|Nim}}
The following works on Windows.
<pre>...>echo L(i) 0..10 {print("Hello World"[0..i])} > oneliner.11l && 11l oneliner.11l && oneliner.exe
H
He
Hel
Hell
Hello
Hello
Hello W
Hello Wo
Hello Wor
Hello Worl
Hello World
</pre>


=={{header|ACL2}}==
=={{header|ACL2}}==