Copy stdin to stdout: Difference between revisions
→{{Header|C}}
(C) |
|||
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|AWK}}==
Using the pattern // (which matches anything) with the default action (which is to print the current line) the following program will copy lines from stdin to stdut.
<lang AWK>//</lang>
=={{Header|C}}==
|