Copy stdin to stdout

From Rosetta Code

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>