Copy stdin to stdout: Difference between revisions

Content added Content deleted
(clarify)
(Perl and Sed)
Line 1: Line 1:
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.
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|Perl}}==
<lang Perl>
perl -pe ''
</lang>

=={{Header|sed}}==

<lang sh>
sed -e ''
</lang>