Copy stdin to stdout: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (Add draft tag, fix language header) |
|||
Line 1: | Line 1: | ||
{{draft task}} |
|||
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}}== |
=={{Header|Perl}}== |
||
<lang |
<lang perl> |
||
perl -pe '' |
perl -pe '' |
||
</lang> |
</lang> |
Revision as of 13:47, 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 perl> perl -pe </lang>
sed
<lang sh> sed -e </lang>