Copy stdin to stdout: Difference between revisions

Perl and Sed
(clarify)
(Perl and Sed)
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.
 
=={{Header|Perl}}==
<lang Perl>
perl -pe ''
</lang>
 
=={{Header|sed}}==
 
<lang sh>
sed -e ''
</lang>
Anonymous user