Copy stdin to stdout

From Rosetta Code
Revision as of 13:47, 11 November 2018 by Thundergnat (talk | contribs) (Add draft tag, fix language header)
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>