Copy stdin to stdout: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (Add draft tag, fix language header) |
(→{{Header|Perl}}: this is a shell invocation of perl) |
||
Line 4: | Line 4: | ||
=={{Header|Perl}}== |
=={{Header|Perl}}== |
||
<lang |
<lang sh> |
||
perl -pe '' |
perl -pe '' |
||
</lang> |
</lang> |
Revision as of 14:00, 11 November 2018
Copy stdin to stdout is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
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.
Perl
<lang sh> perl -pe </lang>
sed
<lang sh> sed -e </lang>