make getpeername() return the original socket address which before it was intercepted
[hband-tools.git] / user-tools / prefixlines
blobcec41f52b125c127114f42b0bd8ebaa8fbb65209
1 #!/usr/bin/env perl
3 =pod
5 =head1 NAME
7 prefixlines - Prefix lines from STDIN
9 =head1 SYNOPSIS
11 prefixlines [I<PREFIX>]
13 =cut
16 $pfx = $ARGV[0] // "\t";
18 while(<STDIN>)
20 print "$pfx$_";