Copy stdin to stdout: Difference between revisions

no edit summary
(added ocaml)
No edit summary
Line 2:
 
Create an executable file that copies stdin to stdout, or else a script that does so through the invocation of an interpreter at the command line.
 
=={{header|Aime}}==
<lang aime>file f;
data b;
f.stdin;
while (f.b_line(b) ^ -1) {
o_(b, "\n");
}</lang>
 
=={{header|ALGOL 68}}==
Anonymous user