File: shelltest.pl

package info (click to toggle)
libwx-perl-processstream-perl 0.32-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: perl: 1,078; makefile: 4; sh: 3
file content (15 lines) | stat: -rwxr-xr-x 167 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl -w
use strict;
# NO BUFFERING
$| = 1;
my $input = 'ECHO:';
print qq(WXTEST INPUT\n);

while(<STDIN>) {
    $input .= $_;
}

print $input;
exit(0);
1;