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
/
fmtkv
blob
34e2cc09f1a7873e46b958e7b5d50d5338b48f39
1
#!/usr/bin/env perl
2
3
while
(<>)
4
{
5
s/(".*?"|\S+?)=(".*?"|\S+)/\n\t$&/g
;
6
print
;
7
}
8
9
__END__
10
11
=pod
12
13
=head1 NAME
14
15
fmtkv - Tranform key=value (each optionally double-quoted) pairs into 1 pair by 1 line on the output
16
17
=cut
18