It boils to Perl reading from the files listed on the command line or from the keyboard (don't forget Ctrl-Z to end in that case).#!/usr/bin/perl -w use strict; while (<>) { print $_; }
<Update>I forgot to mention that it can be called like this: script_name.pl input_file
In reply to Re: Duplicating STDIN
by Mr. Muskrat
in thread Duplicating STDIN
by Leipzig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |