repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make getpeername() return the original socket address which before it was intercepted
[hband-tools.git]
/
user-tools
/
prefixlines
blob
cec41f52b125c127114f42b0bd8ebaa8fbb65209
1
#!/usr/bin/env perl
2
3
=pod
4
5
=head1 NAME
6
7
prefixlines - Prefix lines from STDIN
8
9
=head1 SYNOPSIS
10
11
prefixlines [I<PREFIX>]
12
13
=cut
14
15
16
$pfx
=
$ARGV
[
0
]
//
"
\t
"
;
17
18
while
(<
STDIN
>)
19
{
20
print
"
$pfx
$_
"
;
21
}